There are 8 JCheckboxes, which are already added to panel and aligned in group layout. From which, I have selected one JCheckbox. Then the resultant GUI should contain only remaining 7
JCheckboxes and selected one should temporarily removed or hide from GUI .
Is it possible? If so, how?
All components have a setVisible() method. You can simply call setVisible(false) on the checkbox's action listener. Nevertheless, it would look odd when the checkbox disappears as soon as the user clicks on it.