I'd like my application to have a full-screen mode. What is the easiest way to do this, do I need a third party library for this or is there something in the JDK that already offers this?
A very common shortcut, particularly for browsers, is the F11 key. It can take your screen into and out of full-screen mode quickly and easily.
When starting Minecraft, click on “Options” and then select “Video Settings.” You'll then scroll down a ways until you see the “Fullscreen” toggle on the left hand column of options. Click that to “ON” and you got yourself a nice, full-screen Minecraft session.
JFrame setUndecorated(true)
method
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With