It's not a secret anymore!*
The moose likes Swing / AWT / SWT and the fly likes How to set resolution of the screen Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to set resolution of the screen" Watch "How to set resolution of the screen" New topic

How to set resolution of the screen

Vishal Methi
Ranch Hand

Joined: Jan 14, 2004
Posts: 52
HI guys ,
Hey thanx for opening this page. So might be u can help me.
I want to set the resolution of the screen. I want to chagne the UI depending the resolution. How can i acheive this.
I need ur helpp plz reply to this mail noww ..
thanx in advance for ur co-operation.

Vishal R. Methi
ramon ramos

Joined: May 03, 2003
Posts: 2
Dimension dim=Toolkit.getDefaultToolkit().getScreenSize();
Dimension has two fiels: width and height
Bye and good luck!!!
I agree. Here's the link:
subject: How to set resolution of the screen
Similar Threads
Screen resolution
Windows/Mac screen resolution change
How do I Dynamically change Applet size.
Dyanmic Screen Resolution in J2ME
Problem in detecting Resolution change