I was wondering how I could make a window that automatically gets the size of the screen and opens a window that opens to go full screen
Printable View
I was wondering how I could make a window that automatically gets the size of the screen and opens a window that opens to go full screen
This is the first result for googling "java fullscreen": Lesson: Full-Screen Exclusive Mode API (The Java™ Tutorials > Bonus)
Alternatively, you could just use the Toolkit.getScreenSize() method, and set your JFrame's size to that. That's the first result for googling things like "java get screen size".