Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to make a JPanel highlighted on mouseclick

843806Aug 30 2008 — edited Sep 2 2008
I have a main JPanel and 5 sub JPanels.
sub JPanels are added to main JPanel.
How can I highlight each of these sub JPanels on clicking on each of them.
I need to have multiple select- deselect mode.
Just the same working, like when we select deselect files/folders(CTRL+mouseclick).

Rony
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 30 2008
Added on Aug 30 2008
19 comments
992 views