I have a ComboBox on which depends what components are visible on my window.
For example if combobox is set for "color", red.setVisible() green.setVisibe(), blue.setVisible() are set for true, otherwise for false.
The problem is I want to put different buttons on same place (they could not be both visible on the same time), but unfortunately netbeans doesn't allow me to do that.
Is there any way to change that?