GridBagLayout gridbag = new GridBagLayout();
GridBagConstraints constraints = new GridBagConstraints();
setFont(new Font("TimesRoman", Font.BOLD, 18));
constraints.anchor = GridBagConstraints.NORTHEAST;
setLayout(gridbag);
constraints.gridheight = 10;
constraints.gridwidth = 5;
query_name_label = new Label("Enter Employee Name to Search: ");
addFormComponent(gridbag, query_name_label, constraints);
query_name_field = new TextField(15);
addFormComponent(gridbag, query_name_field, constraints);
constraints.gridwidth = GridBagConstraints.REMAINDER;
Query_button = new Button("Query");
addFormComponent(gridbag, Query_button, constraints);
output = new TextArea(10,55);
addFormComponent(gridbag, output, constraints);
constraints.gridwidth = 5;
delete_name_label = new Label("Enter Employee Name to Delete: ");
addFormComponent(gridbag, delete_name_label, constraints);
delete_name_field = new TextField(15);
addFormComponent(gridbag, delete_name_field, constraints);
Delete_button = new Button("Delete");
addFormComponent(gridbag, Delete_button, constraints);