Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

fullscreen jframe

// For fullscreen, put the following in your code:

frame.setExtendedState(JFrame.MAXIMIZED_BOTH); 

// You can also set the dimensions of the window like this:

frame.setSize(1920, 1080); // Change to resolution of your screen.
 
PREVIOUS NEXT
Tagged: #fullscreen #jframe
ADD COMMENT
Topic
Name
4+1 =