JFDML JFormDesigner: "7.0.0.0.194" Java: "13.0.1" encoding: "UTF-8"

new FormModel {
	contentType: "form/swing"
	root: new FormRoot {
		"$setComponentNames": true
		auxiliary() {
			"JavaCodeGenerator.defaultVariableLocal": true
		}
		add( new FormContainer( "com.formdev.flatlaf.testing.FlatTestPanel", new FormLayoutManager( class net.miginfocom.swing.MigLayout ) {
			"$layoutConstraints": "ltr,insets dialog,hidemode 3"
			"$columnConstraints": "[][][::100][100,fill][fill]"
			"$rowConstraints": "[][][][50,fill][50,fill][50,fill][][]"
		} ) {
			name: "this"
			add( new FormComponent( "javax.swing.JLabel" ) {
				name: "textFieldLabel"
				"text": "JTextField:"
				"displayedMnemonic": 84
				"labelFor": new FormReference( "textField1" )
			}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
				"value": "cell 0 0"
			} )
			add( new FormComponent( "javax.swing.JTextField" ) {
				name: "textField1"
				"text": "editable"
				"componentPopupMenu": &FormReference0 new FormReference( "popupMenu1" )
				auxiliary() {
					"JavaCodeGenerator.variableLocal": false
				}
			}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
				"value": "cell 1 0,growx"
			} )
			add( new FormComponent( "javax.swing.JTextField" ) {
				name: "textField3"
				"text": "longer text for testing horizontal scrolling"
				"componentPopupMenu": #FormReference0
			}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
				"value": "cell 2 0,growx"
			} )
			add( new FormComponent( "javax.swing.JTextField" ) {
				name: "textField2"
				"text": "partly selected"
				"selectionStart": 1
				"selectionEnd": 4
				"componentPopupMenu": #FormReference0
			}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
				"value": "cell 3 0"
			} )
			add( new FormComponent( "javax.swing.JButton" ) {
				name: "button1"
				"text": "change text"
				addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "changeText", false ) )
			}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
				"value": "cell 4 0"
			} )
			add( new FormComponent( "javax.swing.JLabel" ) {
				name: "formattedTextFieldLabel"
				"text": "JFormattedTextField:"
				"displayedMnemonic": 70
				"labelFor": new FormReference( "formattedTextField1" )
			}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
				"value": "cell 0 1"
			} )
			add( new FormComponent( "javax.swing.JFormattedTextField" ) {
				name: "formattedTextField1"
				"text": "editable"
				"componentPopupMenu": #FormReference0
			}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
				"value": "cell 1 1,growx"
			} )
			add( new FormComponent( "javax.swing.JFormattedTextField" ) {
				name: "formattedTextField3"
				"text": "longer text for testing horizontal scrolling"
				"componentPopupMenu": #FormReference0
			}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
				"value": "cell 2 1,growx"
			} )
			add( new FormComponent( "javax.swing.JLabel" ) {
				name: "passwordFieldLabel"
				"text": "JPasswordField:"
				"displayedMnemonic": 80
				"labelFor": new FormReference( "passwordField1" )
			}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
				"value": "cell 0 2"
			} )
			add( new FormComponent( "javax.swing.JPasswordField" ) {
				name: "passwordField1"
				"text": "editable"
				"componentPopupMenu": #FormReference0
			}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
				"value": "cell 1 2,growx"
			} )
			add( new FormComponent( "javax.swing.JPasswordField" ) {
				name: "passwordField3"
				"text": "longer text for testing horizontal scrolling"
				"componentPopupMenu": #FormReference0
			}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
				"value": "cell 2 2,growx"
			} )
			add( new FormComponent( "javax.swing.JLabel" ) {
				name: "textAreaLabel"
				"text": "JTextArea:"
				"displayedMnemonic": 65
				"labelFor": new FormReference( "textArea1" )
			}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
				"value": "cell 0 3"
			} )
			add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) {
				name: "scrollPane1"
				add( new FormComponent( "javax.swing.JTextArea" ) {
					name: "textArea1"
					"text": "editable"
					"componentPopupMenu": #FormReference0
				} )
			}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
				"value": "cell 1 3,growx"
			} )
			add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) {
				name: "scrollPane3"
				add( new FormComponent( "javax.swing.JTextArea" ) {
					name: "textArea3"
					"text": "longer text for testing horizontal scrolling"
					"componentPopupMenu": #FormReference0
				} )
			}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
				"value": "cell 2 3,growx"
			} )
			add( new FormComponent( "javax.swing.JLabel" ) {
				name: "editorPaneLabel"
				"text": "JEditorPane"
				"displayedMnemonic": 74
				"labelFor": new FormReference( "editorPane1" )
			}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
				"value": "cell 0 4"
			} )
			add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) {
				name: "scrollPane5"
				add( new FormComponent( "javax.swing.JEditorPane" ) {
					name: "editorPane1"
					"text": "editable"
					"componentPopupMenu": #FormReference0
				} )
			}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
				"value": "cell 1 4,growx"
			} )
			add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) {
				name: "scrollPane7"
				add( new FormComponent( "javax.swing.JEditorPane" ) {
					name: "editorPane3"
					"text": "longer text for testing horizontal scrolling"
					"componentPopupMenu": #FormReference0
				} )
			}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
				"value": "cell 2 4,growx"
			} )
			add( new FormComponent( "javax.swing.JLabel" ) {
				name: "textPaneLabel"
				"text": "JTextPane:"
				"displayedMnemonic": 78
				"labelFor": new FormReference( "textPane1" )
			}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
				"value": "cell 0 5"
			} )
			add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) {
				name: "scrollPane9"
				add( new FormComponent( "javax.swing.JTextPane" ) {
					name: "textPane1"
					"text": "editable"
					"componentPopupMenu": #FormReference0
				} )
			}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
				"value": "cell 1 5,growx"
			} )
			add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) {
				name: "scrollPane11"
				add( new FormComponent( "javax.swing.JTextPane" ) {
					name: "textPane3"
					"text": "longer text for testing horizontal scrolling"
					"componentPopupMenu": #FormReference0
				} )
			}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
				"value": "cell 2 5,growx"
			} )
			add( new FormComponent( "javax.swing.JLabel" ) {
				name: "comboBoxLabel"
				"text": "JComboBox:"
				"displayedMnemonic": 67
				"labelFor": new FormReference( "comboBox1" )
			}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
				"value": "cell 0 6"
			} )
			add( new FormComponent( "javax.swing.JComboBox" ) {
				name: "comboBox1"
				"editable": true
				"model": new javax.swing.DefaultComboBoxModel {
					selectedItem: "editable"
					addElement( "editable" )
					addElement( "a" )
					addElement( "bb" )
					addElement( "ccc" )
				}
				"componentPopupMenu": #FormReference0
			}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
				"value": "cell 1 6,growx"
			} )
			add( new FormComponent( "javax.swing.JComboBox" ) {
				name: "comboBox3"
				"model": new javax.swing.DefaultComboBoxModel {
					selectedItem: "longer text for testing horizontal scrolling"
					addElement( "longer text for testing horizontal scrolling" )
					addElement( "a" )
					addElement( "bb" )
					addElement( "ccc" )
				}
				"editable": true
				"prototypeDisplayValue": "12345"
				"componentPopupMenu": #FormReference0
			}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
				"value": "cell 2 6,growx"
			} )
			add( new FormComponent( "javax.swing.JLabel" ) {
				name: "spinnerLabel"
				"text": "JSpinner:"
				"displayedMnemonic": 83
				"labelFor": new FormReference( "spinner1" )
			}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
				"value": "cell 0 7"
			} )
			add( new FormComponent( "javax.swing.JSpinner" ) {
				name: "spinner1"
				"componentPopupMenu": #FormReference0
			}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
				"value": "cell 1 7,growx"
			} )
		}, new FormLayoutConstraints( null ) {
			"location": new java.awt.Point( 0, 0 )
			"size": new java.awt.Dimension( 530, 340 )
		} )
		add( new FormContainer( "javax.swing.JPopupMenu", new FormLayoutManager( class javax.swing.JPopupMenu ) ) {
			name: "popupMenu1"
			add( new FormComponent( "javax.swing.JMenuItem" ) {
				name: "cutMenuItem"
				"text": "Cut"
			} )
			add( new FormComponent( "javax.swing.JMenuItem" ) {
				name: "copyMenuItem"
				"text": "Copy"
			} )
			add( new FormComponent( "javax.swing.JMenuItem" ) {
				name: "pasteMenuItem"
				"text": "Paste"
			} )
		}, new FormLayoutConstraints( null ) {
			"location": new java.awt.Point( 0, 390 )
			"size": new java.awt.Dimension( 91, 87 )
		} )
	}
}
