Luckless, on 02 September 2011 - 06:38 AM, said:
common_man, on 06 August 2011 - 01:07 PM, said:
If you used a swing timer to handle the repainting, it would work much better. I wrote this when I first started out with my tiny toolbox of code so I didn't understand the more efficient ways of writing a graphical applet
How did you guys get this to run, btw I am using the full version of NetBeans with everything installed because this is the output of a java error I get when I run the html file:
java.lang.NoClassDefFoundError: PongMain (wrong name: pongmain/PongMain)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)







MultiQuote







|