This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Currently the MainWindow listens for WindowClosing events and starts the exit procedure as a result. If this was configurable, one could add minimize to tray or kiosk mode to a NetBeans Platform application.
Created attachment 106558 [details] Proposed patch This patch adds the system property 'netbeans.winsys.doNothingOnClose' so developers can implement their own behavior for the close button. As a result, the MainWindow will not always be visible, the dialog displayer needs to check if the main window is visible.