Introduction to building your first applet

This section guides you through building your first applet in VisualAge for Java: a To-Do List.

You will create a To-Do List applet, which consists of a bean (a composite bean) that is made up of many other beans. The applet has a JTextField bean for entering a To-Do item and a JList bean for displaying the To-Do items. There are also two JButton beans for adding and removing items from the list. The user interface for the completed To-Do List applet looks like this:

toldtod1.gif (6123 bytes)

In the completed applet, you type an item into the To-Do Item field and select Add. This adds the item to the To-Do List. If you select an item from the To-Do List and select Remove, the item is removed from the To-Do List.