To see whether you have the swing of things, try the following activities:

  • Create a graphical user interface that includes a combo box in a scroll pane.
  • Add event-handling to the WriteMail app that displays the contents of the to, subject, and message components using System.out.println() when the Send button is clicked.

To see Java programs that implement these activities, visit the tutorial's website at