I am using JComboBox to display a String[] in my applet. Now I have a need in my project to populate the comboBox after some action performed in previous panel.
Here below is the code I have written:
JComboBox comboBox = new JComboBox(model);
comboBox.setMaximumRowCount(100);
comboBox.setEditable(true);
comboBox.setBounds(142, 196, 277, 20);
How to make this react accordingly to my action performed in previous panel?