Difference between revisions of "Rey.Lim"
Line 1: | Line 1: | ||
== Assignment #4 == | == Assignment #4 == | ||
+ | For some reason, this application keeps outputting the following error when run from an Applet: | ||
+ | |||
+ | <code> | ||
+ | Exception in thread "Animation Thread" java.lang.NoClassDefFoundError: controlP5/ControlP5 | ||
+ | |||
+ | at A4_01.setup(A4_01.java:73) | ||
+ | |||
+ | at processing.core.PApplet.handleDraw(PApplet.java:1377) | ||
+ | |||
+ | at processing.core.PApplet.run(PApplet.java:1305) | ||
+ | |||
+ | at java.lang.Thread.run(Thread.java:613) | ||
+ | </code> | ||
+ | |||
+ | If you copy and paste the code and the images in a new Sketch and run it through the Processing IDE, however, it works fine. | ||
+ | |||
+ | See (PC): http://www.sfu.ca/~rsl3/IAT800/Assignment04/A4_01/application.windows.zip | ||
+ | |||
+ | See (Mac): http://www.sfu.ca/~rsl3/IAT800/Assignment04/A4_01/application.macosx.zip | ||
+ | |||
+ | |||
[http://www.sfu.ca/~rsl3/IAT800/Assignment04/A4_01/applet/ A4_01] | [http://www.sfu.ca/~rsl3/IAT800/Assignment04/A4_01/applet/ A4_01] | ||
Revision as of 23:08, 12 November 2008
Assignment #4
For some reason, this application keeps outputting the following error when run from an Applet:
Exception in thread "Animation Thread" java.lang.NoClassDefFoundError: controlP5/ControlP5
at A4_01.setup(A4_01.java:73)
at processing.core.PApplet.handleDraw(PApplet.java:1377)
at processing.core.PApplet.run(PApplet.java:1305)
at java.lang.Thread.run(Thread.java:613)
If you copy and paste the code and the images in a new Sketch and run it through the Processing IDE, however, it works fine.
See (PC): http://www.sfu.ca/~rsl3/IAT800/Assignment04/A4_01/application.windows.zip
See (Mac): http://www.sfu.ca/~rsl3/IAT800/Assignment04/A4_01/application.macosx.zip
Assignment #3
Project #2
Part 2 - Drawing Tool Applet
Part 1 - Simple Drawing Tool
I will be building a basic editor that will allow the user to draw on the screen. It will be able to draw simple lines and points, as well as basic shapes such as circles, squares and triangles. The user will also be able to colour these shapes at will. Finally, the user will have the ability to delete through the use of an eraser.