How to specify TitleAreaDialog's position when it startup [message #461059] |
Thu, 15 September 2005 11:07 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.03558 seconds