Setting a different window manager

Information about development with JavaFX UI.

Setting a different window manager

Postby Development@SIB » Sun Nov 01, 2015 11:34 am

The FXDesktopPane supports window manager. The standard window manager shows multiple windows on the desktop and handles global windows.

It's also possible to set a window manager for single-window mode. This window manager shows the content as maximized window:
Syntax: [ Download ] [ Hide ]
desktopPane.setWindowManager(new FXGlobalModalWindowManager(new FXSingleWindowManager()));

If you don't need support for global windows:
Syntax: [ Download ] [ Hide ]
desktopPane.setWindowManager(new FXSingleWindowManager());
User avatar
Development@SIB
 
Posts: 310
Joined: Mon Sep 28, 2009 1:54 pm

Return to Documentation