Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to program a full-screen mode in Java?

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?

like image 659
Epaga Avatar asked Sep 26 '08 12:09

Epaga


People also ask

What is the code for full screen?

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.

How do I make Minecraft fullscreen in Java?

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.


1 Answers

JFrame setUndecorated(true) method

like image 72
Ken Avatar answered Sep 22 '22 15:09

Ken