MenuManager prevents ApplicationWindow from closing properly [message #442378] |
Thu, 02 September 2004 16:18 |
Eclipse User |
|
|
|
Originally posted by: lacougarbage.yahoo.ca
Hi have a class that extends ApplicationWindow for which I need a
MenuManager. When I exit my ApplicationWindow with the upper right
window 'X' (on XP), the window closes from view but still runs in
Eclipse JVM. (It does not show 'Terminate' in the 'debug' perspective)
If I remove the MenuManager from my application, I don't have any
problem closing the application with the window close 'X'.
Any suggestion ?
|
|
|
Re: MenuManager prevents ApplicationWindow from closing properly [message #442382 is a reply to message #442378] |
Thu, 02 September 2004 18:48 |
Eclipse User |
|
|
|
Originally posted by: lacougarbage.yahoo.ca
F lacou wrote:
> Hi have a class that extends ApplicationWindow for which I need a
> MenuManager. When I exit my ApplicationWindow with the upper right
> window 'X' (on XP), the window closes from view but still runs in
> Eclipse JVM. (It does not show 'Terminate' in the 'debug' perspective)
>
> If I remove the MenuManager from my application, I don't have any
> problem closing the application with the window close 'X'.
>
> Any suggestion ?
I managed to close the application by putting a Listener on the Shell
Close event and invoking System.exit(0). But I'm not sure that's the
best way of doing it.
I also tried to close my ApplicationWindow with window.close(), but that
did not work... And I believe it should have.
Could it be because there is stuff not disposed() properly ?
|
|
|
|
Powered by
FUDForum. Page generated in 0.03285 seconds