Quick Index
Prerequisites


The examples make use of the Java "List" interface and Java "ArrayList" class. See 701 Lists for examples of using these types.

See the "Diagrams" tab for a visual look at the objects and types involved in the examples.

Examples Listing


Graphics-Example
	Demos adding drawing elements to drawing.
	Randomizing position and properties
	Setting color, line thickness
	Runnable class: DrawingView

Animation-Example
	Demos animation of objects
	Runnable class: AnimationDrawingView

User-Prompted-Drawing
	Demos adding drawable objects into drawing by
	allowing user to select points that define the
	object
	Runnable class: DrawingView

Reflection-Box
	Demos objects reflecting off of outer drawing walls (the frame)
	Runnable class: AnimationDrawingView


Download Examples


Examples