Introduction to Swing

These notes are based on "Core Java, Vol 1" by Horstmann and Cornell, chapter 7, graphics programming.

Click HERE to get the tutorial. There are programs to accompany the Tutorial. The programs are organized in a progression:

	1. EmptyFrame.java:
		introduces the use of a JFrame that is empty.
	2. EmptyFrame1.java
		introduces a "WindowListener" for a JFrame to quit properly.
	3. myPanel.java
		adds a JPanel to a JFrame.
	4. myPanel1.java
		elaborates on myPanel.java by introducing fonts.
	5. DrawFrame.java
		primitives for drawing/filling polygons and arcs
	   Variation:  DrawFrame1.java
		primitives for drawing/filling various rectangles
	6. ButtonFrame.java
		first steps into event handling
		Demo is a panel with 2 buttons.
	... and more ...