Behavior of the To-Do List program

Before jumping into the modifications that you will be making to your applet to create the updated To-Do List program, let's review how the finished program will work.

Here is what the To-Do List program will look like:

tsampapp.gif (4985 bytes)

Like your existing applet, the updated To-Do List program adds the text in the To-Do Item field to To-Do List when you select the Add button. When you select the Remove button, the program removes the selected item from the To-Do list.

What about the new buttons? Here is an overview of their behavior:

In addition to the differences in interface and behavior, there is one other important difference between the To-Do List applet and the To-Do List program. Because it needs access to the file system to read and write files, the To-Do List program must be run as an application rather than an applet. Java applets are not allowed to access the file system.