I have a combo box with options Small, Medium, and Large. These are the properties and want to apply...
The string variable Pattern have values Small, Medium, Large and it's add to the combo box Barsize
While running this java file, if I choose Medium option it got selected and also property had applied but if I run once again it goes to Small option in index of the combo box.
How do I save that....??? I need an option what I have selected in index till Next changes will make...
Coding is........
propertiesPanel.add(new JLabel("Barsize"))
BarField = new JComboBox(pattern)
propertiesPanel.add(BarField)
Here pattern have the values Small, Medium, and Large......