Display shells [message #440005] |
Tue, 20 July 2004 10:43  |
Eclipse User |
|
|
|
Originally posted by: "prenom.,nom".sextant.thomson-csf.com
Hi,
I want to display a shell only when a first shell is disposed. Actually the two
shells are displayed at the same time. How can I do to synchronize them? Is this
a problem of modality?
I hope you'll be able to help me.
Thank you in advance.
Fabrice
|
|
|
Re: Display shells [message #440030 is a reply to message #440005] |
Wed, 21 July 2004 08:27  |
Eclipse User |
|
|
|
Hi Fabrice,
I don't understand very well your problem, but you can control shells in
following way:
use a ShellListener() or DisposeListener() on the first shell.
You have to choose between creation of 2nd shell when first one is closed
(that is in listener), or to use setVisible() method, making the 2nd
visible (before to give the control of main while() you should make it
setVisible(false)).
Regards,
Tiberiu
JAYLES Fabrice wrote:
> Hi,
> I want to display a shell only when a first shell is disposed. Actually the
two
> shells are displayed at the same time. How can I do to synchronize them? Is
this
> a problem of modality?
> I hope you'll be able to help me.
> Thank you in advance.
> Fabrice
|
|
|
Powered by
FUDForum. Page generated in 0.24650 seconds