I need your suggestions and guidence on following task.
I have a frame which has two JComboBoxes supposed they are named combo1 and combo2, a JTable and other compon
try this:
indicatorComboBox = new JComboBox() { /** * Do not fire if set by program. */ protected void fireActionEvent() { // if the mouse made the selection -> the comboBox has focus if(this.hasFocus()) super.fireActionEvent(); } };