|
|
|
|
|
Re: Disposing of resources [message #446739 is a reply to message #446703] |
Thu, 02 December 2004 03:32 |
Mani Ghamari Messages: 33 Registered: July 2009 |
Member |
|
|
Hi max,
Your questions are aparently answered!
I don't know if you have any experience with this, yet, if you insist on
freeing all the resources before the jvm exit, you might want to take a look
at ShutdownHooks ( java.lang.Runtime.addShutdownHook(Thread hook) ).
regards,
Mani
"Max" <this@address.is.invalid> wrote in message
news:MPG.1c1727b061958c10989683@news.eclipse.org...
> Okay, this has probably been answered a 100 times before, but I would
> still like to know how to handle the following scenarios:
>
> I have a program running in the background with a gui part. I launch the
> gui part when necessary by creating a shell, some widgets and some
> images etc.
>
> When I dispose of the shell, but the program keeps running, do I need to
> dispose the images 'by hand' or is that taken care of automatically?
>
> What about the images if the shell is disposed by the background program
> (and thus the jvm) exiting -
>
> Regards
> --
> Regards Max rotvel AT bolignet-aarhus DOT dk
|
|
|
Powered by
FUDForum. Page generated in 0.03226 seconds