Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Screen width, height, depth

Posted on 1998-08-05
2
306 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

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
difference of if loops 23 60
type mismatch (Object[] to double[] 4 33
Chrome and Firefox Java 5 50
Is there a simpler dropbox system? 10 34
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

808 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