BAPper Draw
Click here to run BAPper Draw!
Source Code:
The Buttons:
Notes:
The main platform for development of this program was Windows NT 4.0.
The tools used include: Symantec Cafe 1.5, Sun's JDK 1.02, Sun's JDK 1.1,
appletviewer, Netscape Communicator, and vim. The applet was tested on
HPUX with Netscape Navigator 3.01, Windows NT 4.0 with Netscape Communicator,
Linux with Netscape Navigator 3.01, and Solaris with appletviewer 1.02 and
Netscape Navigator 3.01. Event handling was the only thing that I noticed
that was not consistant between the platforms. The keyDown() method did
not work in a class derived from the Canvas component. As a result of this,
I added a keyDown() method to BAPDraw which extends applet. This caught the
KEY_DOWN event that should have been handled in DrawCanvas. All platforms
run the applet correctly now, though Windows NT with Symantec Just-In-Time
Compiler was by far the best performer.
The button images were designed by hand using Persistence Of Vision
Ray Tracer (POV-Ray). The texture used was Pink Alabaster. The buttons
are a result of Solid Geometry Construction on boxes. There are two images
for each button. One for pressed and one for not pressed.
Copyright© 1997 by Brian Pomerantz