![java lwjgl fullscreen java lwjgl fullscreen](https://i.stack.imgur.com/GMyya.jpg)
On windows it doesn't turn off a secondary monitor for me, although I'm pretty sure I have seen both behaviours (may be graphics driver specific).įor my application I think I am going to have to implement two modes:ġ: Primary monitor only (use the normal Display class in fullscreen)Ģ: Secondary monitor whilst keeping primary monitor turned on (use "fake fullscreen" - will work on Mac because the toolbar/dock are usually on the primary monitor).
![java lwjgl fullscreen java lwjgl fullscreen](https://lwjglgamedev.gitbooks.io/3d-game-development-with-lwjgl/content/appendixa/renderdoc.png)
Using the normal Display fullscreen mode turns off a secondary monitor on a Mac. This happens even if the window is set toFront. On Mac you have a problem using this approach because the toolbar along the top remains visible, as does the dock. Is this kind of "fake fullscreen" approach possible in LWJGL? I cant see any way of removing window decoration in the JavaDoc. Since it supports AWT, you can "fake" a fullscreen window on any monitor by creating an AWT window with no decoration that is always on top. My previous plan had been to use JOGL (which unfortunately seems like a fairly dead project at the moment). Is this the case with LWJGL? Also, is it possible to specify on which monitor a fullscreen LWJGL window will appear? Is this possible using LWJGL? As I understand it LWJGL uses "proper" fullscreen windows, which in my experience will usually only display on the primary monitor and often turn the secondary monitor off. I am interested in using LWJGL in my application and have a question about Fullscreen support (similar questions have been asked on this forum, but I haven't found a definitive answer).īasically I want my application to enable users with two monitors to run my application's OpenGL output window on one monitor (of their choice) and a Swing control application on another monitor.