Skip to Main Content

Java Programming

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!

Override minimize button of JFrame

807588Mar 15 2009 — edited Mar 16 2009
Is there a way to change the default action of the minimize button of a JFrame? By default it just iconifies the window to the taskbar, but I want it to "minimize to system tray". I want to just toggle the visibility of the window instead of ever minimizing, since minimizing then changing visibility causes problems.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 13 2009
Added on Mar 15 2009
6 comments
777 views