Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java get screen size

Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();

// the screen height
screenSize.getHeight();

// the screen width
screenSize.getWidth();
Source by alvinalexander.com #
 
PREVIOUS NEXT
Tagged: #java #screen #size
ADD COMMENT
Topic
Name
2+5 =