Solved

Screen width, height, depth

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
groupSumClump challenge 9 98
Running Jira on Raspberry PI 2? 3 246
micro services spring boot application error 3 136
eclipse shortcuts 9 45
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

948 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now