Java Programming Examples:
Example illustrating how to save an EPS image from a java canvas.
Example demonstrating how to write to a file
With java you can easily resize arrays as needed
Introduction to Interfaces using functions
Resizable Window Class for overloading
Graphics2D Example 2
Applying AffineTransforms to objects. (I believe this method works with everything in the previous example)
Graphics2D Example 1
Introduction to drawing with the Graphics2D class
Simple Mouse Button Demo
A modified version of Modified Rich Schwartz's Applet 6
Example of detecting which mouse button is clicked:
Modified Rich Schwartz's Applet 10:
I modified Rich Schwartz's Applet 10 to demonstrate how java code can be placed in multiple files. It contains a README which lists the kinds of changes I made.