Applet+Thread+JavaScript

G

George Brancovici

Hi all,

I have an applet that starts a thread polling (with Thread.sleep() in
run()) for some info in a database. The applet runs in a popup window
started from javascript with window.open(). In the popup window under
the applet there is a button which runs window.close(). The problem is
that the applet somehow hangs a this point, that is from now on the
browser behaves strangely, clicking through webpages etc. doesn't work
anymore. If I use (before) the window's X button, everything works
fine. This happens in Mozilla, but not in IE. The message I get is
"sleep interrupted".
What could this be? A Javascript problem? A Mozilla problem? Do I do
something wrong with the thread?

Thanks,
George
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top