Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT API call to replace Toolkit.getDefaultToolkit().getScreenSize()
SWT API call to replace Toolkit.getDefaultToolkit().getScreenSize() [message #453856] Tue, 12 April 2005 14:42 Go to next message
Eclipse UserFriend
Originally posted by: ashish.patwa.ge.com

Hi,

I am working on migrating an existing Swing application into SWT. In one
of the functions, I need the current screen size of the machine to adjust
my display. Was just wondering if there is any method available in the SWT
API. Basically, I need to replace this swing code:

Toolkit.getDefaultToolkit().getScreenSize()

Any help on this will be appreciated.

Thanks,
Ashish
Re: SWT API call to replace Toolkit.getDefaultToolkit().getScreenSize() [message #453859 is a reply to message #453856] Tue, 12 April 2005 15:02 Go to previous message
Stef van Dijk is currently offline Stef van DijkFriend
Messages: 31
Registered: July 2009
Member
Display.getBounds()

Stef

"Ashish Patwa" <ashish.patwa@ge.com> wrote in message
news:6533f655885324d03be847af66b45474$1@www.eclipse.org...
> Hi,
>
> I am working on migrating an existing Swing application into SWT. In one
> of the functions, I need the current screen size of the machine to adjust
> my display. Was just wondering if there is any method available in the SWT
> API. Basically, I need to replace this swing code:
>
> Toolkit.getDefaultToolkit().getScreenSize()
>
> Any help on this will be appreciated.
>
> Thanks,
> Ashish
>
Previous Topic:SWT_AWT eclipse view problem
Next Topic:real fullscreen on pocket pc
Goto Forum:
  


Current Time: Wed Apr 24 16:04:47 GMT 2024

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

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

Back to the top