Screen width, height, depth

I am writing a java application.
how do i programmatically get the width, height, & depth of the screen?
mickeydogAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
aziz061097Connect With a Mentor Commented:
Yu can get it by using System.getProperties
0
 
aziz061097Commented:
I am sorry , you can use the Toolkit methods getScreenSize and getScreenResolution ....

for getting the toolkit on your system you can say Toolkit.getDefaultToolkit() in your applet class
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.