Solved

Screen width, height, depth

Posted on 1998-08-05
2
301 Views
Last Modified: 2010-04-16
I am writing a java application.
how do i programmatically get the width, height, & depth of the screen?
0
Comment
Question by:mickeydog
  • 2
2 Comments
 
LVL 2

Accepted Solution

by:
aziz061097 earned 50 total points
ID: 1231399
Yu can get it by using System.getProperties
0
 
LVL 2

Expert Comment

by:aziz061097
ID: 1231400
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
JUnit 4 @Before and @BeforeClass differences 3 59
configure dependency in POM for new database 3 25
null output 3 24
Problem to Alipay 10 18
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question