java AWT

Chapter: java AWT

Let's begin by reviewing some simple awt objects. Sun has a short tutorial that should remind you of how to create applets, insert various GUI components, add Listeners, and view the applets using appletviewer or a browser.


Exercise 1

Copy and paste the examples given in the tutorial into your own directory. Compile each and test in appletviewer or Mozilla. Make sure everything is working perfectly. Ask your TA if there are any problems. Show the TA your work when you are finished. There is no need to turn anything in for this exercise. However, the TA may ask to see any of the examples running, and on the basis of that demonstration the TA will assign you a grade for this exercise.

The purpose of the last exercise was for you to brush away any cobwebs that may have been woven since you last programmed in Java and to ensure that you are comfortable with the lab computer environment support for java. If you are going to work on any parts of labs on your own machine at home, it is your responsibility to make sure all is set up to your satisfaction.


rhyspj@gwu.edu