if(CheckBox.isSelected()){
JComboBox1.setVisible(false);
JComboBox2.setVisible(false);
JComboBox3.setVisible(false);
JComboBox4.setVisible(false);
JComboBox5.setVisible(true);
JComboBox6.setVisible(true);
JComboBox7.setVisible(true);
JComboBox8.setVisible(true);
JComboBox9.setVisible(true);
JComboBox10.setVisible(true);
JComboBox11.setVisible(true);
}
The thing is that JComboBox 5-11 is set visible to false when the GUI is started and when you press this they will become visible and the other ones will be not visible.. Is there anything i did wrong or why is this not working properly?

New Topic/Question
This topic is locked



MultiQuote








|