I am working on an applet that contains a menubar and an internal frame.
Clicking a button from the menu bar launches an inner applet in the
internal frame like thus:
private void jCalcButtonActionPerformed(java.awt.event.ActionEvent
evt){
java.applet.Applet FF = new FeeFrameApplet();
FF.init();
FF.start();
jAppletFrame.getContentPane().add(FF);
}
the problem is that the applet is only visible once the internal frame
is resized. Does anybody know an effective work around for this ?
Also,
after an applet has been launched and the user selects a different
button from the menu bar I need to destroy() whatever applet is
currently running in the internal frame and launch th new applet.
Anybody know how to get a dynmic reference to the JApplet object
currently running in the internal frame? Also would I kill it by
calling it's destroy() method?
Any help would be greatly appreciated !
Joel McCarty
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]