Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 11: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 12: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: Fri Apr 26 14:57:12 GMT 2024

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

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

Back to the top