Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to get the screen resolution?
How to get the screen resolution? [message #456844] Fri, 10 June 2005 19:28 Go to next message
Eclipse UserFriend
Originally posted by: jsk_lam.hotmail.com

Hi,

I have a need to obtain the screen resolution (such as 640 x 480,
1024 x 768, and so on.) What API in Eclipse that I should use
to get the information?

Best Regards,
SL
Re: How to get the screen resolution? [message #456845 is a reply to message #456844] Fri, 10 June 2005 20:54 Go to previous message
Benjamin Pasero is currently offline Benjamin PaseroFriend
Messages: 337
Registered: July 2009
Senior Member
See Display.getPrimaryMonitor().getBounds()

Ben

>Hi,
>
>I have a need to obtain the screen resolution (such as 640 x 480,
>1024 x 768, and so on.) What API in Eclipse that I should use
>to get the information?
>
>Best Regards,
>SL
>
>
>
>
Previous Topic:Fancy: Emulation of ghosted drag image in SWT
Next Topic:TableTreeViewer - drag and drop problem
Goto Forum:
  


Current Time: Wed Apr 24 17:12:50 GMT 2024

Powered by FUDForum. Page generated in 0.02570 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top