What is Correct Way to Exit J9/SWT on PPC [message #467103] |
Wed, 25 January 2006 03:28 |
Eddie Atherton Messages: 8 Registered: July 2009 |
Junior Member |
|
|
Hi,
Just starting out with J9/SWT on a PocketPC and couldn't find the
answer to this.
I'm playing around with some screen layouts, so I'm starting and
stopping my application a lot. I'm using the Shell constructor
without any options, so I get the "Smart Minimize". I know I can stop
the application from Setting/Memory, but I also wanted the option to
exit from within the application. I added a Menu bar with an Exit
option, and the listener for this issues a System.exit(0).
But doing this doesn't appear to release the memory used by the
application. Should it.
I decided to ask this here, because I'm also running a J9 "console"
application, and that doesn't seem to have any problems freeing the
memory, which makes me think my question is SWT related.
Cheers,
Eddie
|
|
|
Re: What is Correct Way to Exit J9/SWT on PPC [message #467117 is a reply to message #467103] |
Wed, 25 January 2006 12:36 |
Alexandre Boaventura Messages: 31 Registered: July 2009 |
Member |
|
|
Eddie Atherton escreveu:
> Hi,
>
> Just starting out with J9/SWT on a PocketPC and couldn't find the
> answer to this.
>
> I'm playing around with some screen layouts, so I'm starting and
> stopping my application a lot. I'm using the Shell constructor
> without any options, so I get the "Smart Minimize". I know I can stop
> the application from Setting/Memory, but I also wanted the option to
> exit from within the application. I added a Menu bar with an Exit
> option, and the listener for this issues a System.exit(0).
>
> But doing this doesn't appear to release the memory used by the
> application. Should it.
>
> I decided to ask this here, because I'm also running a J9 "console"
> application, and that doesn't seem to have any problems freeing the
> memory, which makes me think my question is SWT related.
>
> Cheers,
> Eddie
Hi Eddie,
Did you try to call your application with j9w ? If I'm not wrong, that's
the solution for this problem.
Alexandre
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01901 seconds