This week's book giveaway is in the
We're giving away four copies of
and have Sam Newman on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
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