Override minimize button of JFrame
807588Mar 15 2009 — edited Mar 16 2009Is 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.