File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
Swing / AWT / SWT
Joined: Mar 02, 2005
Apr 19, 2005 17:29:00
I need to get the screen size so I can position my
relative to the screen size.
I've searched this forum and there seems to be no thread on this.
Thanks to all.
amerzil co-ed student<br />"Praise be the Code"
author and iconoclast
Joined: Jul 08, 2003
Apr 19, 2005 17:34:00
You want java.awt.Toolkit.getDefaultToolkit().getScreenSize().
[Jess in Action]
I agree. Here's the link:
subject: Screen Size
How to set a screen size
how to set the size of of a JPanel according to the Screen Size
Using Other Classes in my Main?
full size of the screen(urgent)
Screen meshing into main screen
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015