Use google or the search engine at
java.sun.com to search for "Hello Swing World" or "Hello AWT World" example program, or hunt around the following:
http://theswingconnection.com/
http://thejavatutorial.com/
http://java.sun.com/developer/codesamples/index.html
http://java.sun.com/learning/tutorial/index.html
http://www.jguru.com/
If you have been on the "Java Programming Language" training from Sun, there is an example in the students guide, too.
If you still can't find what you want, either break open the
Java API and look at either the java.awt package or java.swing package, or send me a PM justifying why this isn't actually homework and why I should actually just find/modify/write an example for you
