• Post Reply Bookmark Topic Watch Topic
  • New Topic

t.interrupt() is not interrupting the thread's sleep...  RSS feed

Charles Mullins
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an interesting problem in which I do not no how to solve. I am developing an applet and I need it to work in both IE and Netscape. IE is working 100%, but Netscape isn't working because the sleep isn't being interrupted. I am using Java 1.2, IE 5.05 and Netscape 4.75.
I am using the following to interrupt the sleep. t.interrupt();
For example purposes in IE I get a message "Successfully Interrupted...", but Netscape never gets the message. Any suggestions?
} catch (InterruptedException e){
System.out.println("Successfully Interrupted...");
Thanks in advance,
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!