FlatComponentsTest: Spinner added

This commit is contained in:
Karl Tauber
2019-08-29 18:41:05 +02:00
parent 67fdf90543
commit 0d5a963599
2 changed files with 145 additions and 115 deletions

View File

@@ -69,6 +69,9 @@ public class FlatComponentsTest
JComboBox<String> comboBox2 = new JComboBox<>(); JComboBox<String> comboBox2 = new JComboBox<>();
JComboBox<String> comboBox3 = new JComboBox<>(); JComboBox<String> comboBox3 = new JComboBox<>();
JComboBox<String> comboBox4 = new JComboBox<>(); JComboBox<String> comboBox4 = new JComboBox<>();
JLabel spinnerLabel = new JLabel();
JSpinner spinner1 = new JSpinner();
JSpinner spinner2 = new JSpinner();
JLabel textFieldLabel = new JLabel(); JLabel textFieldLabel = new JLabel();
JTextField textField1 = new JTextField(); JTextField textField1 = new JTextField();
JTextField textField2 = new JTextField(); JTextField textField2 = new JTextField();
@@ -168,6 +171,7 @@ public class FlatComponentsTest
"[]" + "[]" +
"[]" + "[]" +
"[]" + "[]" +
"[]" +
"[]")); "[]"));
//---- labelLabel ---- //---- labelLabel ----
@@ -312,81 +316,90 @@ public class FlatComponentsTest
comboBox4.setEnabled(false); comboBox4.setEnabled(false);
add(comboBox4, "cell 4 4,growx"); add(comboBox4, "cell 4 4,growx");
//---- spinnerLabel ----
spinnerLabel.setText("JSpinner:");
add(spinnerLabel, "cell 0 5");
add(spinner1, "cell 1 5,growx");
//---- spinner2 ----
spinner2.setEnabled(false);
add(spinner2, "cell 2 5,growx");
//---- textFieldLabel ---- //---- textFieldLabel ----
textFieldLabel.setText("JTextField:"); textFieldLabel.setText("JTextField:");
add(textFieldLabel, "cell 0 5"); add(textFieldLabel, "cell 0 6");
//---- textField1 ---- //---- textField1 ----
textField1.setText("editable"); textField1.setText("editable");
add(textField1, "cell 1 5,growx"); add(textField1, "cell 1 6,growx");
//---- textField2 ---- //---- textField2 ----
textField2.setText("disabled"); textField2.setText("disabled");
textField2.setEnabled(false); textField2.setEnabled(false);
add(textField2, "cell 2 5,growx"); add(textField2, "cell 2 6,growx");
//---- textField3 ---- //---- textField3 ----
textField3.setText("not editable"); textField3.setText("not editable");
textField3.setEditable(false); textField3.setEditable(false);
add(textField3, "cell 3 5,growx"); add(textField3, "cell 3 6,growx");
//---- textField4 ---- //---- textField4 ----
textField4.setText("not editable disabled"); textField4.setText("not editable disabled");
textField4.setEnabled(false); textField4.setEnabled(false);
textField4.setEditable(false); textField4.setEditable(false);
add(textField4, "cell 4 5,growx"); add(textField4, "cell 4 6,growx");
//---- formattedTextFieldLabel ---- //---- formattedTextFieldLabel ----
formattedTextFieldLabel.setText("JFormattedTextField:"); formattedTextFieldLabel.setText("JFormattedTextField:");
add(formattedTextFieldLabel, "cell 0 6"); add(formattedTextFieldLabel, "cell 0 7");
//---- formattedTextField1 ---- //---- formattedTextField1 ----
formattedTextField1.setText("editable"); formattedTextField1.setText("editable");
add(formattedTextField1, "cell 1 6,growx"); add(formattedTextField1, "cell 1 7,growx");
//---- formattedTextField2 ---- //---- formattedTextField2 ----
formattedTextField2.setText("disabled"); formattedTextField2.setText("disabled");
formattedTextField2.setEnabled(false); formattedTextField2.setEnabled(false);
add(formattedTextField2, "cell 2 6,growx"); add(formattedTextField2, "cell 2 7,growx");
//---- formattedTextField3 ---- //---- formattedTextField3 ----
formattedTextField3.setText("not editable"); formattedTextField3.setText("not editable");
formattedTextField3.setEditable(false); formattedTextField3.setEditable(false);
add(formattedTextField3, "cell 3 6,growx"); add(formattedTextField3, "cell 3 7,growx");
//---- formattedTextField4 ---- //---- formattedTextField4 ----
formattedTextField4.setText("not editable disabled"); formattedTextField4.setText("not editable disabled");
formattedTextField4.setEnabled(false); formattedTextField4.setEnabled(false);
formattedTextField4.setEditable(false); formattedTextField4.setEditable(false);
add(formattedTextField4, "cell 4 6,growx"); add(formattedTextField4, "cell 4 7,growx");
//---- passwordFieldLabel ---- //---- passwordFieldLabel ----
passwordFieldLabel.setText("JPasswordField:"); passwordFieldLabel.setText("JPasswordField:");
add(passwordFieldLabel, "cell 0 7"); add(passwordFieldLabel, "cell 0 8");
//---- passwordField1 ---- //---- passwordField1 ----
passwordField1.setText("editable"); passwordField1.setText("editable");
add(passwordField1, "cell 1 7,growx"); add(passwordField1, "cell 1 8,growx");
//---- passwordField2 ---- //---- passwordField2 ----
passwordField2.setText("disabled"); passwordField2.setText("disabled");
passwordField2.setEnabled(false); passwordField2.setEnabled(false);
add(passwordField2, "cell 2 7,growx"); add(passwordField2, "cell 2 8,growx");
//---- passwordField3 ---- //---- passwordField3 ----
passwordField3.setText("not editable"); passwordField3.setText("not editable");
passwordField3.setEditable(false); passwordField3.setEditable(false);
add(passwordField3, "cell 3 7,growx"); add(passwordField3, "cell 3 8,growx");
//---- passwordField4 ---- //---- passwordField4 ----
passwordField4.setText("not editable disabled"); passwordField4.setText("not editable disabled");
passwordField4.setEnabled(false); passwordField4.setEnabled(false);
passwordField4.setEditable(false); passwordField4.setEditable(false);
add(passwordField4, "cell 4 7,growx"); add(passwordField4, "cell 4 8,growx");
//---- textAreaLabel ---- //---- textAreaLabel ----
textAreaLabel.setText("JTextArea:"); textAreaLabel.setText("JTextArea:");
add(textAreaLabel, "cell 0 8"); add(textAreaLabel, "cell 0 9");
//======== scrollPane1 ======== //======== scrollPane1 ========
{ {
@@ -398,7 +411,7 @@ public class FlatComponentsTest
textArea1.setRows(2); textArea1.setRows(2);
scrollPane1.setViewportView(textArea1); scrollPane1.setViewportView(textArea1);
} }
add(scrollPane1, "cell 1 8,growx"); add(scrollPane1, "cell 1 9,growx");
//======== scrollPane2 ======== //======== scrollPane2 ========
{ {
@@ -411,7 +424,7 @@ public class FlatComponentsTest
textArea2.setEnabled(false); textArea2.setEnabled(false);
scrollPane2.setViewportView(textArea2); scrollPane2.setViewportView(textArea2);
} }
add(scrollPane2, "cell 2 8,growx"); add(scrollPane2, "cell 2 9,growx");
//======== scrollPane3 ======== //======== scrollPane3 ========
{ {
@@ -424,7 +437,7 @@ public class FlatComponentsTest
textArea3.setEditable(false); textArea3.setEditable(false);
scrollPane3.setViewportView(textArea3); scrollPane3.setViewportView(textArea3);
} }
add(scrollPane3, "cell 3 8,growx"); add(scrollPane3, "cell 3 9,growx");
//======== scrollPane4 ======== //======== scrollPane4 ========
{ {
@@ -438,16 +451,16 @@ public class FlatComponentsTest
textArea4.setEnabled(false); textArea4.setEnabled(false);
scrollPane4.setViewportView(textArea4); scrollPane4.setViewportView(textArea4);
} }
add(scrollPane4, "cell 4 8,growx"); add(scrollPane4, "cell 4 9,growx");
//---- textArea5 ---- //---- textArea5 ----
textArea5.setRows(2); textArea5.setRows(2);
textArea5.setText("no scroll pane"); textArea5.setText("no scroll pane");
add(textArea5, "cell 5 8,growx"); add(textArea5, "cell 5 9,growx");
//---- editorPaneLabel ---- //---- editorPaneLabel ----
editorPaneLabel.setText("JEditorPane"); editorPaneLabel.setText("JEditorPane");
add(editorPaneLabel, "cell 0 9"); add(editorPaneLabel, "cell 0 10");
//======== scrollPane5 ======== //======== scrollPane5 ========
{ {
@@ -458,7 +471,7 @@ public class FlatComponentsTest
editorPane1.setText("editable"); editorPane1.setText("editable");
scrollPane5.setViewportView(editorPane1); scrollPane5.setViewportView(editorPane1);
} }
add(scrollPane5, "cell 1 9,growx"); add(scrollPane5, "cell 1 10,growx");
//======== scrollPane6 ======== //======== scrollPane6 ========
{ {
@@ -470,7 +483,7 @@ public class FlatComponentsTest
editorPane2.setEnabled(false); editorPane2.setEnabled(false);
scrollPane6.setViewportView(editorPane2); scrollPane6.setViewportView(editorPane2);
} }
add(scrollPane6, "cell 2 9,growx"); add(scrollPane6, "cell 2 10,growx");
//======== scrollPane7 ======== //======== scrollPane7 ========
{ {
@@ -482,7 +495,7 @@ public class FlatComponentsTest
editorPane3.setEditable(false); editorPane3.setEditable(false);
scrollPane7.setViewportView(editorPane3); scrollPane7.setViewportView(editorPane3);
} }
add(scrollPane7, "cell 3 9,growx"); add(scrollPane7, "cell 3 10,growx");
//======== scrollPane8 ======== //======== scrollPane8 ========
{ {
@@ -495,15 +508,15 @@ public class FlatComponentsTest
editorPane4.setEnabled(false); editorPane4.setEnabled(false);
scrollPane8.setViewportView(editorPane4); scrollPane8.setViewportView(editorPane4);
} }
add(scrollPane8, "cell 4 9,growx"); add(scrollPane8, "cell 4 10,growx");
//---- editorPane5 ---- //---- editorPane5 ----
editorPane5.setText("no scroll pane"); editorPane5.setText("no scroll pane");
add(editorPane5, "cell 5 9,growx"); add(editorPane5, "cell 5 10,growx");
//---- textPaneLabel ---- //---- textPaneLabel ----
textPaneLabel.setText("JTextPane:"); textPaneLabel.setText("JTextPane:");
add(textPaneLabel, "cell 0 10"); add(textPaneLabel, "cell 0 11");
//======== scrollPane9 ======== //======== scrollPane9 ========
{ {
@@ -514,7 +527,7 @@ public class FlatComponentsTest
textPane1.setText("editable"); textPane1.setText("editable");
scrollPane9.setViewportView(textPane1); scrollPane9.setViewportView(textPane1);
} }
add(scrollPane9, "cell 1 10,growx"); add(scrollPane9, "cell 1 11,growx");
//======== scrollPane10 ======== //======== scrollPane10 ========
{ {
@@ -526,7 +539,7 @@ public class FlatComponentsTest
textPane2.setEnabled(false); textPane2.setEnabled(false);
scrollPane10.setViewportView(textPane2); scrollPane10.setViewportView(textPane2);
} }
add(scrollPane10, "cell 2 10,growx"); add(scrollPane10, "cell 2 11,growx");
//======== scrollPane11 ======== //======== scrollPane11 ========
{ {
@@ -538,7 +551,7 @@ public class FlatComponentsTest
textPane3.setEditable(false); textPane3.setEditable(false);
scrollPane11.setViewportView(textPane3); scrollPane11.setViewportView(textPane3);
} }
add(scrollPane11, "cell 3 10,growx"); add(scrollPane11, "cell 3 11,growx");
//======== scrollPane12 ======== //======== scrollPane12 ========
{ {
@@ -551,15 +564,15 @@ public class FlatComponentsTest
textPane4.setEnabled(false); textPane4.setEnabled(false);
scrollPane12.setViewportView(textPane4); scrollPane12.setViewportView(textPane4);
} }
add(scrollPane12, "cell 4 10,growx"); add(scrollPane12, "cell 4 11,growx");
//---- textPane5 ---- //---- textPane5 ----
textPane5.setText("no scroll pane"); textPane5.setText("no scroll pane");
add(textPane5, "cell 5 10,growx"); add(textPane5, "cell 5 11,growx");
//---- scrollPaneLabel ---- //---- scrollPaneLabel ----
scrollPaneLabel.setText("JScrollPane:"); scrollPaneLabel.setText("JScrollPane:");
add(scrollPaneLabel, "cell 0 11"); add(scrollPaneLabel, "cell 0 12");
//======== scrollPane13 ======== //======== scrollPane13 ========
{ {
@@ -573,21 +586,21 @@ public class FlatComponentsTest
} }
scrollPane13.setViewportView(panel1); scrollPane13.setViewportView(panel1);
} }
add(scrollPane13, "cell 1 11,grow,width 70,height 70"); add(scrollPane13, "cell 1 12,grow,width 70,height 70");
add(scrollBar2, "cell 2 11 1 4,growy"); add(scrollBar2, "cell 2 12 1 4,growy");
//---- scrollBar3 ---- //---- scrollBar3 ----
scrollBar3.setEnabled(false); scrollBar3.setEnabled(false);
add(scrollBar3, "cell 2 11 1 4,growy"); add(scrollBar3, "cell 2 12 1 4,growy");
//---- separator2 ---- //---- separator2 ----
separator2.setOrientation(SwingConstants.VERTICAL); separator2.setOrientation(SwingConstants.VERTICAL);
add(separator2, "cell 2 11 1 4,growy"); add(separator2, "cell 2 12 1 4,growy");
//---- slider2 ---- //---- slider2 ----
slider2.setOrientation(SwingConstants.VERTICAL); slider2.setOrientation(SwingConstants.VERTICAL);
slider2.setValue(30); slider2.setValue(30);
add(slider2, "cell 2 11 1 4,growy"); add(slider2, "cell 2 12 1 4,growy");
//---- slider4 ---- //---- slider4 ----
slider4.setMinorTickSpacing(10); slider4.setMinorTickSpacing(10);
@@ -596,50 +609,50 @@ public class FlatComponentsTest
slider4.setPaintLabels(true); slider4.setPaintLabels(true);
slider4.setOrientation(SwingConstants.VERTICAL); slider4.setOrientation(SwingConstants.VERTICAL);
slider4.setValue(30); slider4.setValue(30);
add(slider4, "cell 2 11 1 4,growy"); add(slider4, "cell 2 12 1 4,growy");
add(scrollPane14, "cell 3 11,grow"); add(scrollPane14, "cell 3 12,grow");
//---- progressBar3 ---- //---- progressBar3 ----
progressBar3.setOrientation(SwingConstants.VERTICAL); progressBar3.setOrientation(SwingConstants.VERTICAL);
progressBar3.setValue(50); progressBar3.setValue(50);
add(progressBar3, "cell 4 11 1 4"); add(progressBar3, "cell 4 12 1 4");
//---- progressBar4 ---- //---- progressBar4 ----
progressBar4.setOrientation(SwingConstants.VERTICAL); progressBar4.setOrientation(SwingConstants.VERTICAL);
progressBar4.setValue(55); progressBar4.setValue(55);
progressBar4.setStringPainted(true); progressBar4.setStringPainted(true);
add(progressBar4, "cell 4 11 1 4"); add(progressBar4, "cell 4 12 1 4");
//---- scrollBarLabel ---- //---- scrollBarLabel ----
scrollBarLabel.setText("JScrollBar:"); scrollBarLabel.setText("JScrollBar:");
add(scrollBarLabel, "cell 0 12"); add(scrollBarLabel, "cell 0 13");
//---- scrollBar1 ---- //---- scrollBar1 ----
scrollBar1.setOrientation(Adjustable.HORIZONTAL); scrollBar1.setOrientation(Adjustable.HORIZONTAL);
add(scrollBar1, "cell 1 12,growx"); add(scrollBar1, "cell 1 13,growx");
//---- scrollBar4 ---- //---- scrollBar4 ----
scrollBar4.setOrientation(Adjustable.HORIZONTAL); scrollBar4.setOrientation(Adjustable.HORIZONTAL);
scrollBar4.setEnabled(false); scrollBar4.setEnabled(false);
add(scrollBar4, "cell 1 13,growx"); add(scrollBar4, "cell 1 14,growx");
//---- separatorLabel ---- //---- separatorLabel ----
separatorLabel.setText("JSeparator:"); separatorLabel.setText("JSeparator:");
add(separatorLabel, "cell 0 14"); add(separatorLabel, "cell 0 15");
add(separator1, "cell 1 14,growx"); add(separator1, "cell 1 15,growx");
//---- sliderLabel ---- //---- sliderLabel ----
sliderLabel.setText("JSlider:"); sliderLabel.setText("JSlider:");
add(sliderLabel, "cell 0 15"); add(sliderLabel, "cell 0 16");
//---- slider1 ---- //---- slider1 ----
slider1.setValue(30); slider1.setValue(30);
add(slider1, "cell 1 15,aligny top,grow 100 0"); add(slider1, "cell 1 16,aligny top,grow 100 0");
//---- slider6 ---- //---- slider6 ----
slider6.setEnabled(false); slider6.setEnabled(false);
slider6.setValue(30); slider6.setValue(30);
add(slider6, "cell 2 15,aligny top,grow 100 0"); add(slider6, "cell 2 16,aligny top,grow 100 0");
//---- slider3 ---- //---- slider3 ----
slider3.setMinorTickSpacing(10); slider3.setMinorTickSpacing(10);
@@ -647,7 +660,7 @@ public class FlatComponentsTest
slider3.setMajorTickSpacing(50); slider3.setMajorTickSpacing(50);
slider3.setPaintLabels(true); slider3.setPaintLabels(true);
slider3.setValue(30); slider3.setValue(30);
add(slider3, "cell 1 16,aligny top,grow 100 0"); add(slider3, "cell 1 17,aligny top,grow 100 0");
//---- slider5 ---- //---- slider5 ----
slider5.setMinorTickSpacing(10); slider5.setMinorTickSpacing(10);
@@ -656,25 +669,25 @@ public class FlatComponentsTest
slider5.setPaintLabels(true); slider5.setPaintLabels(true);
slider5.setEnabled(false); slider5.setEnabled(false);
slider5.setValue(30); slider5.setValue(30);
add(slider5, "cell 2 16,aligny top,grow 100 0"); add(slider5, "cell 2 17,aligny top,grow 100 0");
//---- progressBarLabel ---- //---- progressBarLabel ----
progressBarLabel.setText("JProgressBar:"); progressBarLabel.setText("JProgressBar:");
add(progressBarLabel, "cell 0 17"); add(progressBarLabel, "cell 0 18");
//---- progressBar1 ---- //---- progressBar1 ----
progressBar1.setValue(50); progressBar1.setValue(50);
add(progressBar1, "cell 1 17"); add(progressBar1, "cell 1 18");
//---- progressBar2 ---- //---- progressBar2 ----
progressBar2.setStringPainted(true); progressBar2.setStringPainted(true);
progressBar2.setValue(55); progressBar2.setValue(55);
add(progressBar2, "cell 3 17"); add(progressBar2, "cell 3 18");
//---- indeterminateCheckBox ---- //---- indeterminateCheckBox ----
indeterminateCheckBox.setText("indeterminate"); indeterminateCheckBox.setText("indeterminate");
indeterminateCheckBox.addActionListener(e -> indeterminateCheckBoxActionPerformed()); indeterminateCheckBox.addActionListener(e -> indeterminateCheckBoxActionPerformed());
add(indeterminateCheckBox, "cell 4 17"); add(indeterminateCheckBox, "cell 4 18");
// JFormDesigner - End of component initialization //GEN-END:initComponents // JFormDesigner - End of component initialization //GEN-END:initComponents
} }

View File

@@ -9,7 +9,7 @@ new FormModel {
add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class net.miginfocom.swing.MigLayout ) { add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class net.miginfocom.swing.MigLayout ) {
"$layoutConstraints": "insets 0,hidemode 3,gap 5 5,ltr" "$layoutConstraints": "insets 0,hidemode 3,gap 5 5,ltr"
"$columnConstraints": "[][][][][][]" "$columnConstraints": "[][][][][][]"
"$rowConstraints": "[][][][][][][][][][][][][][][][][][]" "$rowConstraints": "[][][][][][][][][][][][][][][][][][][]"
} ) { } ) {
name: "this" name: "this"
add( new FormComponent( "javax.swing.JLabel" ) { add( new FormComponent( "javax.swing.JLabel" ) {
@@ -206,31 +206,48 @@ new FormModel {
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 4 4,growx" "value": "cell 4 4,growx"
} ) } )
add( new FormComponent( "javax.swing.JLabel" ) {
name: "spinnerLabel"
"text": "JSpinner:"
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 0 5"
} )
add( new FormComponent( "javax.swing.JSpinner" ) {
name: "spinner1"
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 1 5,growx"
} )
add( new FormComponent( "javax.swing.JSpinner" ) {
name: "spinner2"
"enabled": false
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 2 5,growx"
} )
add( new FormComponent( "javax.swing.JLabel" ) { add( new FormComponent( "javax.swing.JLabel" ) {
name: "textFieldLabel" name: "textFieldLabel"
"text": "JTextField:" "text": "JTextField:"
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 0 5" "value": "cell 0 6"
} ) } )
add( new FormComponent( "javax.swing.JTextField" ) { add( new FormComponent( "javax.swing.JTextField" ) {
name: "textField1" name: "textField1"
"text": "editable" "text": "editable"
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 1 5,growx" "value": "cell 1 6,growx"
} ) } )
add( new FormComponent( "javax.swing.JTextField" ) { add( new FormComponent( "javax.swing.JTextField" ) {
name: "textField2" name: "textField2"
"text": "disabled" "text": "disabled"
"enabled": false "enabled": false
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 2 5,growx" "value": "cell 2 6,growx"
} ) } )
add( new FormComponent( "javax.swing.JTextField" ) { add( new FormComponent( "javax.swing.JTextField" ) {
name: "textField3" name: "textField3"
"text": "not editable" "text": "not editable"
"editable": false "editable": false
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 3 5,growx" "value": "cell 3 6,growx"
} ) } )
add( new FormComponent( "javax.swing.JTextField" ) { add( new FormComponent( "javax.swing.JTextField" ) {
name: "textField4" name: "textField4"
@@ -238,33 +255,33 @@ new FormModel {
"enabled": false "enabled": false
"editable": false "editable": false
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 4 5,growx" "value": "cell 4 6,growx"
} ) } )
add( new FormComponent( "javax.swing.JLabel" ) { add( new FormComponent( "javax.swing.JLabel" ) {
name: "formattedTextFieldLabel" name: "formattedTextFieldLabel"
"text": "JFormattedTextField:" "text": "JFormattedTextField:"
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 0 6" "value": "cell 0 7"
} ) } )
add( new FormComponent( "javax.swing.JFormattedTextField" ) { add( new FormComponent( "javax.swing.JFormattedTextField" ) {
name: "formattedTextField1" name: "formattedTextField1"
"text": "editable" "text": "editable"
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 1 6,growx" "value": "cell 1 7,growx"
} ) } )
add( new FormComponent( "javax.swing.JFormattedTextField" ) { add( new FormComponent( "javax.swing.JFormattedTextField" ) {
name: "formattedTextField2" name: "formattedTextField2"
"text": "disabled" "text": "disabled"
"enabled": false "enabled": false
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 2 6,growx" "value": "cell 2 7,growx"
} ) } )
add( new FormComponent( "javax.swing.JFormattedTextField" ) { add( new FormComponent( "javax.swing.JFormattedTextField" ) {
name: "formattedTextField3" name: "formattedTextField3"
"text": "not editable" "text": "not editable"
"editable": false "editable": false
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 3 6,growx" "value": "cell 3 7,growx"
} ) } )
add( new FormComponent( "javax.swing.JFormattedTextField" ) { add( new FormComponent( "javax.swing.JFormattedTextField" ) {
name: "formattedTextField4" name: "formattedTextField4"
@@ -272,33 +289,33 @@ new FormModel {
"enabled": false "enabled": false
"editable": false "editable": false
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 4 6,growx" "value": "cell 4 7,growx"
} ) } )
add( new FormComponent( "javax.swing.JLabel" ) { add( new FormComponent( "javax.swing.JLabel" ) {
name: "passwordFieldLabel" name: "passwordFieldLabel"
"text": "JPasswordField:" "text": "JPasswordField:"
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 0 7" "value": "cell 0 8"
} ) } )
add( new FormComponent( "javax.swing.JPasswordField" ) { add( new FormComponent( "javax.swing.JPasswordField" ) {
name: "passwordField1" name: "passwordField1"
"text": "editable" "text": "editable"
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 1 7,growx" "value": "cell 1 8,growx"
} ) } )
add( new FormComponent( "javax.swing.JPasswordField" ) { add( new FormComponent( "javax.swing.JPasswordField" ) {
name: "passwordField2" name: "passwordField2"
"text": "disabled" "text": "disabled"
"enabled": false "enabled": false
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 2 7,growx" "value": "cell 2 8,growx"
} ) } )
add( new FormComponent( "javax.swing.JPasswordField" ) { add( new FormComponent( "javax.swing.JPasswordField" ) {
name: "passwordField3" name: "passwordField3"
"text": "not editable" "text": "not editable"
"editable": false "editable": false
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 3 7,growx" "value": "cell 3 8,growx"
} ) } )
add( new FormComponent( "javax.swing.JPasswordField" ) { add( new FormComponent( "javax.swing.JPasswordField" ) {
name: "passwordField4" name: "passwordField4"
@@ -306,13 +323,13 @@ new FormModel {
"enabled": false "enabled": false
"editable": false "editable": false
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 4 7,growx" "value": "cell 4 8,growx"
} ) } )
add( new FormComponent( "javax.swing.JLabel" ) { add( new FormComponent( "javax.swing.JLabel" ) {
name: "textAreaLabel" name: "textAreaLabel"
"text": "JTextArea:" "text": "JTextArea:"
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 0 8" "value": "cell 0 9"
} ) } )
add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) { add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) {
name: "scrollPane1" name: "scrollPane1"
@@ -324,7 +341,7 @@ new FormModel {
"rows": 2 "rows": 2
} ) } )
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 1 8,growx" "value": "cell 1 9,growx"
} ) } )
add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) { add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) {
name: "scrollPane2" name: "scrollPane2"
@@ -337,7 +354,7 @@ new FormModel {
"enabled": false "enabled": false
} ) } )
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 2 8,growx" "value": "cell 2 9,growx"
} ) } )
add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) { add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) {
name: "scrollPane3" name: "scrollPane3"
@@ -350,7 +367,7 @@ new FormModel {
"editable": false "editable": false
} ) } )
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 3 8,growx" "value": "cell 3 9,growx"
} ) } )
add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) { add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) {
name: "scrollPane4" name: "scrollPane4"
@@ -364,20 +381,20 @@ new FormModel {
"enabled": false "enabled": false
} ) } )
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 4 8,growx" "value": "cell 4 9,growx"
} ) } )
add( new FormComponent( "javax.swing.JTextArea" ) { add( new FormComponent( "javax.swing.JTextArea" ) {
name: "textArea5" name: "textArea5"
"rows": 2 "rows": 2
"text": "no scroll pane" "text": "no scroll pane"
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 5 8,growx" "value": "cell 5 9,growx"
} ) } )
add( new FormComponent( "javax.swing.JLabel" ) { add( new FormComponent( "javax.swing.JLabel" ) {
name: "editorPaneLabel" name: "editorPaneLabel"
"text": "JEditorPane" "text": "JEditorPane"
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 0 9" "value": "cell 0 10"
} ) } )
add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) { add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) {
name: "scrollPane5" name: "scrollPane5"
@@ -388,7 +405,7 @@ new FormModel {
"text": "editable" "text": "editable"
} ) } )
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 1 9,growx" "value": "cell 1 10,growx"
} ) } )
add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) { add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) {
name: "scrollPane6" name: "scrollPane6"
@@ -400,7 +417,7 @@ new FormModel {
"enabled": false "enabled": false
} ) } )
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 2 9,growx" "value": "cell 2 10,growx"
} ) } )
add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) { add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) {
name: "scrollPane7" name: "scrollPane7"
@@ -412,7 +429,7 @@ new FormModel {
"editable": false "editable": false
} ) } )
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 3 9,growx" "value": "cell 3 10,growx"
} ) } )
add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) { add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) {
name: "scrollPane8" name: "scrollPane8"
@@ -425,19 +442,19 @@ new FormModel {
"enabled": false "enabled": false
} ) } )
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 4 9,growx" "value": "cell 4 10,growx"
} ) } )
add( new FormComponent( "javax.swing.JEditorPane" ) { add( new FormComponent( "javax.swing.JEditorPane" ) {
name: "editorPane5" name: "editorPane5"
"text": "no scroll pane" "text": "no scroll pane"
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 5 9,growx" "value": "cell 5 10,growx"
} ) } )
add( new FormComponent( "javax.swing.JLabel" ) { add( new FormComponent( "javax.swing.JLabel" ) {
name: "textPaneLabel" name: "textPaneLabel"
"text": "JTextPane:" "text": "JTextPane:"
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 0 10" "value": "cell 0 11"
} ) } )
add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) { add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) {
name: "scrollPane9" name: "scrollPane9"
@@ -448,7 +465,7 @@ new FormModel {
"text": "editable" "text": "editable"
} ) } )
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 1 10,growx" "value": "cell 1 11,growx"
} ) } )
add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) { add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) {
name: "scrollPane10" name: "scrollPane10"
@@ -460,7 +477,7 @@ new FormModel {
"enabled": false "enabled": false
} ) } )
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 2 10,growx" "value": "cell 2 11,growx"
} ) } )
add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) { add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) {
name: "scrollPane11" name: "scrollPane11"
@@ -472,7 +489,7 @@ new FormModel {
"editable": false "editable": false
} ) } )
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 3 10,growx" "value": "cell 3 11,growx"
} ) } )
add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) { add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) {
name: "scrollPane12" name: "scrollPane12"
@@ -485,19 +502,19 @@ new FormModel {
"enabled": false "enabled": false
} ) } )
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 4 10,growx" "value": "cell 4 11,growx"
} ) } )
add( new FormComponent( "javax.swing.JTextPane" ) { add( new FormComponent( "javax.swing.JTextPane" ) {
name: "textPane5" name: "textPane5"
"text": "no scroll pane" "text": "no scroll pane"
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 5 10,growx" "value": "cell 5 11,growx"
} ) } )
add( new FormComponent( "javax.swing.JLabel" ) { add( new FormComponent( "javax.swing.JLabel" ) {
name: "scrollPaneLabel" name: "scrollPaneLabel"
"text": "JScrollPane:" "text": "JScrollPane:"
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 0 11" "value": "cell 0 12"
} ) } )
add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) { add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) {
name: "scrollPane13" name: "scrollPane13"
@@ -508,31 +525,31 @@ new FormModel {
"preferredSize": new java.awt.Dimension( 200, 200 ) "preferredSize": new java.awt.Dimension( 200, 200 )
} ) } )
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 1 11,grow,width 70,height 70" "value": "cell 1 12,grow,width 70,height 70"
} ) } )
add( new FormComponent( "javax.swing.JScrollBar" ) { add( new FormComponent( "javax.swing.JScrollBar" ) {
name: "scrollBar2" name: "scrollBar2"
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 2 11 1 4,growy" "value": "cell 2 12 1 4,growy"
} ) } )
add( new FormComponent( "javax.swing.JScrollBar" ) { add( new FormComponent( "javax.swing.JScrollBar" ) {
name: "scrollBar3" name: "scrollBar3"
"enabled": false "enabled": false
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 2 11 1 4,growy" "value": "cell 2 12 1 4,growy"
} ) } )
add( new FormComponent( "javax.swing.JSeparator" ) { add( new FormComponent( "javax.swing.JSeparator" ) {
name: "separator2" name: "separator2"
"orientation": 1 "orientation": 1
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 2 11 1 4,growy" "value": "cell 2 12 1 4,growy"
} ) } )
add( new FormComponent( "javax.swing.JSlider" ) { add( new FormComponent( "javax.swing.JSlider" ) {
name: "slider2" name: "slider2"
"orientation": 1 "orientation": 1
"value": 30 "value": 30
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 2 11 1 4,growy" "value": "cell 2 12 1 4,growy"
} ) } )
add( new FormComponent( "javax.swing.JSlider" ) { add( new FormComponent( "javax.swing.JSlider" ) {
name: "slider4" name: "slider4"
@@ -543,12 +560,12 @@ new FormModel {
"orientation": 1 "orientation": 1
"value": 30 "value": 30
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 2 11 1 4,growy" "value": "cell 2 12 1 4,growy"
} ) } )
add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) { add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) {
name: "scrollPane14" name: "scrollPane14"
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 3 11,grow" "value": "cell 3 12,grow"
} ) } )
add( new FormComponent( "javax.swing.JProgressBar" ) { add( new FormComponent( "javax.swing.JProgressBar" ) {
name: "progressBar3" name: "progressBar3"
@@ -558,7 +575,7 @@ new FormModel {
"JavaCodeGenerator.variableLocal": false "JavaCodeGenerator.variableLocal": false
} }
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 4 11 1 4" "value": "cell 4 12 1 4"
} ) } )
add( new FormComponent( "javax.swing.JProgressBar" ) { add( new FormComponent( "javax.swing.JProgressBar" ) {
name: "progressBar4" name: "progressBar4"
@@ -569,56 +586,56 @@ new FormModel {
"JavaCodeGenerator.variableLocal": false "JavaCodeGenerator.variableLocal": false
} }
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 4 11 1 4" "value": "cell 4 12 1 4"
} ) } )
add( new FormComponent( "javax.swing.JLabel" ) { add( new FormComponent( "javax.swing.JLabel" ) {
name: "scrollBarLabel" name: "scrollBarLabel"
"text": "JScrollBar:" "text": "JScrollBar:"
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 0 12" "value": "cell 0 13"
} ) } )
add( new FormComponent( "javax.swing.JScrollBar" ) { add( new FormComponent( "javax.swing.JScrollBar" ) {
name: "scrollBar1" name: "scrollBar1"
"orientation": 0 "orientation": 0
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 1 12,growx" "value": "cell 1 13,growx"
} ) } )
add( new FormComponent( "javax.swing.JScrollBar" ) { add( new FormComponent( "javax.swing.JScrollBar" ) {
name: "scrollBar4" name: "scrollBar4"
"orientation": 0 "orientation": 0
"enabled": false "enabled": false
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 1 13,growx" "value": "cell 1 14,growx"
} ) } )
add( new FormComponent( "javax.swing.JLabel" ) { add( new FormComponent( "javax.swing.JLabel" ) {
name: "separatorLabel" name: "separatorLabel"
"text": "JSeparator:" "text": "JSeparator:"
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 0 14" "value": "cell 0 15"
} ) } )
add( new FormComponent( "javax.swing.JSeparator" ) { add( new FormComponent( "javax.swing.JSeparator" ) {
name: "separator1" name: "separator1"
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 1 14,growx" "value": "cell 1 15,growx"
} ) } )
add( new FormComponent( "javax.swing.JLabel" ) { add( new FormComponent( "javax.swing.JLabel" ) {
name: "sliderLabel" name: "sliderLabel"
"text": "JSlider:" "text": "JSlider:"
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 0 15" "value": "cell 0 16"
} ) } )
add( new FormComponent( "javax.swing.JSlider" ) { add( new FormComponent( "javax.swing.JSlider" ) {
name: "slider1" name: "slider1"
"value": 30 "value": 30
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 1 15,aligny top,grow 100 0" "value": "cell 1 16,aligny top,grow 100 0"
} ) } )
add( new FormComponent( "javax.swing.JSlider" ) { add( new FormComponent( "javax.swing.JSlider" ) {
name: "slider6" name: "slider6"
"enabled": false "enabled": false
"value": 30 "value": 30
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 2 15,aligny top,grow 100 0" "value": "cell 2 16,aligny top,grow 100 0"
} ) } )
add( new FormComponent( "javax.swing.JSlider" ) { add( new FormComponent( "javax.swing.JSlider" ) {
name: "slider3" name: "slider3"
@@ -628,7 +645,7 @@ new FormModel {
"paintLabels": true "paintLabels": true
"value": 30 "value": 30
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 1 16,aligny top,grow 100 0" "value": "cell 1 17,aligny top,grow 100 0"
} ) } )
add( new FormComponent( "javax.swing.JSlider" ) { add( new FormComponent( "javax.swing.JSlider" ) {
name: "slider5" name: "slider5"
@@ -639,13 +656,13 @@ new FormModel {
"enabled": false "enabled": false
"value": 30 "value": 30
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 2 16,aligny top,grow 100 0" "value": "cell 2 17,aligny top,grow 100 0"
} ) } )
add( new FormComponent( "javax.swing.JLabel" ) { add( new FormComponent( "javax.swing.JLabel" ) {
name: "progressBarLabel" name: "progressBarLabel"
"text": "JProgressBar:" "text": "JProgressBar:"
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 0 17" "value": "cell 0 18"
} ) } )
add( new FormComponent( "javax.swing.JProgressBar" ) { add( new FormComponent( "javax.swing.JProgressBar" ) {
name: "progressBar1" name: "progressBar1"
@@ -654,7 +671,7 @@ new FormModel {
"JavaCodeGenerator.variableLocal": false "JavaCodeGenerator.variableLocal": false
} }
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 1 17" "value": "cell 1 18"
} ) } )
add( new FormComponent( "javax.swing.JProgressBar" ) { add( new FormComponent( "javax.swing.JProgressBar" ) {
name: "progressBar2" name: "progressBar2"
@@ -664,7 +681,7 @@ new FormModel {
"JavaCodeGenerator.variableLocal": false "JavaCodeGenerator.variableLocal": false
} }
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 3 17" "value": "cell 3 18"
} ) } )
add( new FormComponent( "javax.swing.JCheckBox" ) { add( new FormComponent( "javax.swing.JCheckBox" ) {
name: "indeterminateCheckBox" name: "indeterminateCheckBox"
@@ -674,7 +691,7 @@ new FormModel {
} }
addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "indeterminateCheckBoxActionPerformed", false ) ) addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "indeterminateCheckBoxActionPerformed", false ) )
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) { }, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 4 17" "value": "cell 4 18"
} ) } )
}, new FormLayoutConstraints( null ) { }, new FormLayoutConstraints( null ) {
"location": new java.awt.Point( 0, 0 ) "location": new java.awt.Point( 0, 0 )