This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 15299

Moving this to the Applet forum..

GenRocket - Experts at Building Test Data
subject: Applet initialization problem
Similar Threads
Applet Opening new html window
An awt window on top of all other windows
Applets and swing UI
closing !!
Applet with Theme does not refresh properly