Owl Sams Teach Yourself Java 1.1 Programming in 24 Hours

Hour 19, Building a Simple User Interface, describes how to create five different types of user components -- buttons, text, labels, check boxes, choice lists, and text areas. The source code files used for each of these can be loaded from the CD-ROM that accompanies the book and also viewed or downloaded from this site.

To save one of the .java files listed on this page, hold down the shift key when clicking on the image or filename below. (You also can view them normally by keeping all fingers, toes, and other precision-touch appendages away from the shift key).