Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to specify TitleAreaDialog's position when it startup
How to specify TitleAreaDialog's position when it startup [message #461059] Thu, 15 September 2005 07:07 Go to next message
Eclipse UserFriend
Originally posted by: sciman.126.com

Hi,all:
I use SWT and JFace to develop a standalone application.There is a lot
of TitleAreaDialog type dialogs in my application.I found the dialog
display iteself in random position on the screen in the runtime.Is it
possible to specify TitleAreaDialog's initial position on the screen when
runtime?

Thanks,
Ke Deng.
Re: How to specify TitleAreaDialog's position when it startup [message #461066 is a reply to message #461059] Thu, 15 September 2005 08:24 Go to previous message
Eclipse UserFriend
Originally posted by: stefan.renz.web.de

Hi Ke Deng,

just overwrite the getInitialLocation() method.


Ke Deng wrote:

> Hi,all:
> I use SWT and JFace to develop a standalone application.There is a lot
> of TitleAreaDialog type dialogs in my application.I found the dialog
> display iteself in random position on the screen in the runtime.Is it
> possible to specify TitleAreaDialog's initial position on the screen when
> runtime?

> Thanks,
> Ke Deng.
Previous Topic:messagebox without shell
Next Topic:Layouts
Goto Forum:
  


Current Time: Wed Jul 23 02:28:59 EDT 2025

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

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

Back to the top