What is the fine-grained topic of the following text: Once you have the screen size as a Java Dimension object, you can get the height and width as follows: // the screen height screenSize.getHeight(); // the screen width screenSize.getWidth(); As you might guess, the screen size height and width values are both pixel values (given as Java double values). Only return the topic.
Getting screen size dimensions in Java