File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 15299

Moving this to the Applet forum..

GenRocket - Experts at Building Test Data
I agree. Here's the link:
subject: Applet initialization problem