• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 335
  • Last Modified:

Screen width, height, depth

I am writing a java application.
how do i programmatically get the width, height, & depth of the screen?
0
mickeydog
Asked:
mickeydog
  • 2
1 Solution
 
aziz061097Commented:
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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now