PDA

View Full Version : Applet in Window gets destroyed on minimizing (collapsing) the window



rana07
7 Dec 2010, 1:23 AM
I have an applet (in a html container) within a gxt window. Now, the applet gets destroyed whenever the window is minimized. Hence I have to reload the applet manually on window Expand event (i.e when the windeow is restored).

Is there any way to avoid this reload? The applet takes 5-6 sec to reinitialize, hence I would like to just hide the applet on window collapse and display it when the window is restored.


regards,

Rana

sven
7 Dec 2010, 1:25 AM
http://www.sencha.com/forum/showthread.php?117380-Applet-in-Window-reloads-on-moving-window

Same problem. Minimizing hides the window by default and removes it from the dom. You need to customize the minimize behaviour.

rana07
7 Dec 2010, 1:29 AM
I thought so, but was hoping that there might be some magic flag I can set and get it working ;)

Thanks!