panel.add(new JLabel("FOR USE BY AUTHORISED PERSONNEL!")); {JPanel p = new JPanel(new GridLayout(1, 2));p.add(new JLabel("Type of Event: "));p.add(new JTextField(10));panel.add(p);} {JPanel p = new JPanel(new GridLayout(1, 2));p.add(new JLabel("Available Data: "));p.add(new JTextField(10));panel.add(p);} {JPanel p = new JPanel(new GridLayout(1, 2));p.add(new JLabel("Description: "));p.add(new JTextField(10));panel.add(p);} {JPanel p = new JPanel(new GridLayout(1, 2));p.add(label);p.add(text);panel.add(p);} panel.add(button);
JPanel fieldsAndButtonsPanel = new JPanel(); fieldsAndButtonsPanel.setLayout(new BorderLayout());    { JPanel fieldPanel = new JPanel(); fieldPanel.setLayout(new BorderLayout()); fieldPanel.add(gridPanel, "North"); fieldsAndButtonsPanel.add(fieldPanel, "North"); }
	public JPanel startDisplay(){    // start the GUI here    final JPanel panel = new JPanel(new GridLayout(20, 1));        final JLabel label = new JLabel("Enter name: ");    final JTextField text = new JTextField(20);    JButton button = new JButton("Action!");    panel.add(new JLabel("FOR USE BY AUTHORISED PERSONNEL!"));    {JPanel p = new JPanel(new GridLayout(1, 2));p.add(new JLabel("Type of Event: "));p.add(new JTextField(10));panel.add(p);}    {JPanel p = new JPanel(new GridLayout(1, 2));p.add(new JLabel("Available Data: "));p.add(new JTextField(10));panel.add(p);}    {JPanel p = new JPanel(new GridLayout(1, 2));p.add(new JLabel("Description: "));p.add(new JTextField(10));panel.add(p);}    {JPanel p = new JPanel(new GridLayout(1, 2));p.add(label);p.add(text);panel.add(p);}    panel.add(button);    button.addActionListener(new ActionListener() {      public void actionPerformed(ActionEvent ae) {        phaseOneData = text.getText();        phaseOne();      }    });    return panel;  }