Minimizing a JFrame releases memory? Why?
- From: "eitan" <eitan.goldin@xxxxxxxxx>
- Date: 29 Oct 2006 04:08:42 -0800
Why when setting the extendedState of a JFrame to Frame.ICONIFIED
release memory?
I have a Swing telephone application when runing on normal state it
uses aprox 40 MB if I minimize calling
JFrame.setExtendedState(Frame.ICONIFIED) I can see it releases a lot of
memory, using only 5 MB.
My problem is after being a long time minimized (several hours) and I
restore the application (i.e: a call is received) I takes close to half
a minutes the application to appears on foreground!
Why is this happening? Can anyone help me to understand what's going on
the virtual machine or which resources are being release while using
the Frame.ICONIFIED flag?
Thanks E.
.
- Follow-Ups:
- Re: Minimizing a JFrame releases memory? Why?
- From: Daniel Pitts
- Re: Minimizing a JFrame releases memory? Why?
- Prev by Date: Re: How to pass back a value from a window
- Next by Date: Bridge for Java swing <-> Html/Javascript
- Previous by thread: Minimizing a SWT Application in the Sytem Tray (Dock) on the Mac OS X
- Next by thread: Re: Minimizing a JFrame releases memory? Why?
- Index(es):
Relevant Pages
|
|