applet and thread problems

wxdqz

New Member
HiI'm having trouble with an applet - It is not very complex. I just tryingtofigure out threads. The applet basically creates 3 threads which can becontrolled (start, suspend and resume) with buttons. Two of the threads arebouncing balls and the third creates swirly colored text.The applet works fine in IE5 and through the appletviewer but refuses towork in Netscape. I need to get the applet running from a website.This is the error message:"Applet bounce can't start: class bounce not found".When I take a look at the Java console in Netscape i get this message"# Applet exception: class bounce not foundjava.lang.ClassNotFoundException:java/awt/event/ActionListener".I have JDK 1.1.5. I am using Suspend() and Resume() to control an animationthread. When I compile in Jbuilder 3 - I get warnings that these aredeprecated. How else could you suspend and resume a thread.the error. Any help would be much appreciated. Here is the codeYou can view the applet here:http://netessentials.squirrel.com.au/bounce/bounce.htmThe source code: <!-- m --><a class="postlink" href="http://netessentials.squirrel.com.au/bounce/bounce.javaThanks.Aneesha">http://netessentials.squirrel.com.au/bo ... ks.Aneesha</a><!-- m -->
 
Back
Top