/Users/lyon/j4p/src/addBk/addressBook/EditPanel.java
|
1 package addBk.addressBook;
2
3 //EditPanel.javaTextButtonPanel.java
4
5
6 import java.awt.*;
7
8 public class EditPanel
9 extends Panel {
10
11 EditButtonPanel ebp =
12 new EditButtonPanel();
13 TextFieldPanel tfp =
14 new TextFieldPanel();
15 NavigationPanel np =
16 new NavigationPanel();
17
18 EditPanel() {
19 setLayout(
20 new BorderLayout());
21 add(np, "East");
22 add(tfp, "West");
23 add(ebp, "Center");
24
25 np.editButton.setLabel("Done");
26 tfp.t0.setEditable(true);
27 tfp.t1.setEditable(true);
28 tfp.t2.setEditable(true);
29 }
30
31 }