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
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