| CheckBoxPanel.java |
package addBk.address;
import java.awt.*;
public class CheckBoxPanel
extends Panel {
Checkbox name_cb =
new Checkbox("In Name", true);
Checkbox address_cb =
new Checkbox("In Address", true);
Checkbox info_cb =
new Checkbox("In Info.", true);
Checkbox phone_cb =
new Checkbox("In Phone");
Button b = new Button("Find");
CheckBoxPanel() {
setLayout(
new GridLayout(0, 1));
add(name_cb);
add(address_cb);
add(info_cb);
add(phone_cb);
add(b);
}
}