mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-11 06:27:13 -06:00
FlatTextComponentsTest: fixed compiler warnings (for previous commit)
This commit is contained in:
@@ -76,8 +76,8 @@ public class FlatTextComponentsTest
|
|||||||
JSpinner spinner1 = new JSpinner();
|
JSpinner spinner1 = new JSpinner();
|
||||||
JSpinner spinner2 = new JSpinner();
|
JSpinner spinner2 = new JSpinner();
|
||||||
JSpinner spinner3 = new JSpinner();
|
JSpinner spinner3 = new JSpinner();
|
||||||
JComboBox comboBox2 = new JComboBox();
|
JComboBox<String> comboBox2 = new JComboBox<>();
|
||||||
JComboBox comboBox4 = new JComboBox();
|
JComboBox<String> comboBox4 = new JComboBox<>();
|
||||||
JPopupMenu popupMenu1 = new JPopupMenu();
|
JPopupMenu popupMenu1 = new JPopupMenu();
|
||||||
JMenuItem cutMenuItem = new JMenuItem();
|
JMenuItem cutMenuItem = new JMenuItem();
|
||||||
JMenuItem copyMenuItem = new JMenuItem();
|
JMenuItem copyMenuItem = new JMenuItem();
|
||||||
|
|||||||
@@ -246,12 +246,18 @@ new FormModel {
|
|||||||
add( new FormComponent( "javax.swing.JComboBox" ) {
|
add( new FormComponent( "javax.swing.JComboBox" ) {
|
||||||
name: "comboBox2"
|
name: "comboBox2"
|
||||||
"editable": true
|
"editable": true
|
||||||
|
auxiliary() {
|
||||||
|
"JavaCodeGenerator.typeParameters": "String"
|
||||||
|
}
|
||||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||||
"value": "cell 1 10,growx,height 40"
|
"value": "cell 1 10,growx,height 40"
|
||||||
} )
|
} )
|
||||||
add( new FormComponent( "javax.swing.JComboBox" ) {
|
add( new FormComponent( "javax.swing.JComboBox" ) {
|
||||||
name: "comboBox4"
|
name: "comboBox4"
|
||||||
"editable": true
|
"editable": true
|
||||||
|
auxiliary() {
|
||||||
|
"JavaCodeGenerator.typeParameters": "String"
|
||||||
|
}
|
||||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||||
"value": "cell 1 11,growx,hmax 14"
|
"value": "cell 1 11,growx,hmax 14"
|
||||||
} )
|
} )
|
||||||
|
|||||||
Reference in New Issue
Block a user