title: Java Applets and DHTML: Can I keep an Applet alive while its <div> is gone?
body: <p>I'm trying to integrate a Java Applet into a primarily JS web application with lots of Dynamic HTML (using Ext.js in this case).  I'd like to be able to use the applet inside a tabpanel (or equivalent layout), but when the DHTML yanks the <em>div</em> that the applet lives in upon switching to a new tab, the applet understandably exits.  Then when switching back again, it is relaunched, thus losing any state it might have had.</p>
  
  <p>Is there any good way to either keep the <em>div</em> around but hidden, or otherwise keep the applet alive within a DHTML heavy framework?  I can also reduce the applet size to 0x0 and put it in a <em>span</em> if this is of any help, but it does need to be buried inside the JS framework to be managed properly. </p>
  
  <p>Thanks/O</p>