|
Java™ by example!
|
|
|
How do I get the screen dimensions and resolution?
To obtain the current screen size (dimension), use the following static methods: Toolkit.getDefaultToolkit().getScreenSize();
This returns the screen size as a Dimension object.
Further Information
Author of answer: Rob Lebowitz
Comments to this answer are only viewable by members. Login or become a member!
|
|
|
|
|