Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Swing / AWT / SWT
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Swing / AWT / SWT
Screen Size
Karen Baog
Ranch Hand
Posts: 120
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi guys!
I need to get the screen size so I can position my JFrame 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"
Ernest Friedman-Hill
author and iconoclast
Posts: 24207
46
I like...
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You want java.awt.Toolkit.getDefaultToolkit().getScreenSize().
[Jess in Action]
[AskingGoodQuestions]
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
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
More...