posted 18 years ago
The button uses both Mouse and ActionListener. The Button is supposed to change the panel in a CardLayout to show the card behind the main Panel. I set it to false intitially and when clicked it shows the second Panel. When I test setEnabled(false) on the other buttons, they remain disabled when clicked.