This was my first applet I did during my Programming Languages class I took Spring 1996. It is pretty simple. The basic idea was to learn about object oriented programming by subclassing one generic class to provide any number of shapes that have the same manipulation routines.
Note: I recently updated the code using double buffering to prevent the applet from flickering. The rest of the code is pretty much the same. When you get a lot of objects in the window you can really see a difference. The double buffering code is in DrawShapes.java and I put a block around it -- this is all that really changed.
Java Applets
/ DrawShapes / NavBar / OthelloLast modified February 17, 1999 by Jeff Mark