Using Vesa Video Mode in Java

How to use Vesa Video mode in Java?

+3
source share
1 answer

You can run java as a full-screen application, for example, exclusive mode.

DisplayMode oldDisplayMode = myDevice.getDisplayMode();
try {
    myDevice.setFullScreenWindow(myWindow);
    myDevice.setDisplayMode(newDisplayMode);
    ...
} finally {
    myDevice.setDisplayMode(oldDisplayMode);
    myDevice.setFullScreenWindow(null);
}

You can also change the display mode. If your device supports Vesa modes, it may be on the list of available modes in Java.

See Sun Tutorial - Full Screen Exclusive Mode

+1
source

Source: https://habr.com/ru/post/1747798/


All Articles