R
RC
I have two JComboBoxes
JComboBox combo1 = new JComboBox();
JComboBox combo2 = new JComboBox();
Both I implemented the ItemListener
Now I want if combo1 itemStateChanged(ItemEvent evet)
then combo2 also itemStateChanged.
Vice versa, if combo2 itemStateChanged, then combo1 also
itemStateChanged.
Any idea how to do that?
Thank Q in advance!
JComboBox combo1 = new JComboBox();
JComboBox combo2 = new JComboBox();
Both I implemented the ItemListener
Now I want if combo1 itemStateChanged(ItemEvent evet)
then combo2 also itemStateChanged.
Vice versa, if combo2 itemStateChanged, then combo1 also
itemStateChanged.
Any idea how to do that?
Thank Q in advance!