June 2002
Beginner to intermediate
640 pages
14h 24m
English
We want to be able to add new addresses to the address list. Essentially, that means two new buttons, Add and Remove, which we'll put in a new panel in the north region of the main frame. (See Figure 14-3.) When the user presses the Add button a dialog pops up. A dialog is like a frame, except that it's modal (i.e., you have to close it before you can continue using your application).

The dialog class, AddAddressDialog, is in the same module as AddressMain and contains an instance of the AddressForm panel. It extends java.awt.Dialog ...
Read now
Unlock full access