It's not a secret anymore!
The moose likes Applets and the fly likes Applet initialization problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Applet initialization problem" Watch "Applet initialization problem" New topic

Applet initialization problem

John Richardson

Joined: Feb 20, 2004
Posts: 13
I am using javascript to open a window (not a new window) each time a certain icon is clicked that opens a applet.
I have started a thread in the applet that I want to keep open (in the applet window), then I return to the main page and click the icon again in the main window. The applet is re-initializing and killing the thread that I wanted to keep open.
Is there any way to find if there is an applet context open, and then check some variable in a frame on that applet before a new applet is initialized, and the old applet is killed (along with it's thread(s))?
Thanks even for the slightest direction!
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

Moving this to the Applet forum..

GenRocket - Experts at Building Test Data
I agree. Here's the link:
subject: Applet initialization problem
jQuery in Action, 3rd edition