package mathsquared.resultswizard2;

import java.awt.BorderLayout;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;

/**
 * Runs the GUI by which an event administrator can input results.
 * 
 * @author MathSquared
 * 
 */
public class AdminGuiFrame extends JFrame {

    private ObjectInputStream ois;
    private ObjectOutputStream oos;

    private JPanel contentPane;

    /**
     * Create the frame.
     */
    public AdminGuiFrame (ObjectInputStream ois, ObjectOutputStream oos) {
        // Initialize comms
        this.oos = oos;
        this.ois = ois;

        setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);
        setBounds(100, 100, 450, 300);
        contentPane = new JPanel();
        contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
        contentPane.setLayout(new BorderLayout(0, 0));
        setContentPane(contentPane);
    }

}

@@ -184,16 +184,48 @@
 JPanel;%0A
+import javax.swing.JTabbedPane;%0A
 import j
@@ -987,16 +987,766 @@
 ntPane);
+%0A%0A        JTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP);%0A        contentPane.add(tabbedPane, BorderLayout.CENTER);%0A%0A        // Contains configuration options, such as setting a color scheme%0A        JPanel configPanel = new JPanel();%0A        tabbedPane.addTab(%22Configuration%22, null, configPanel, null);%0A%0A        // Contains a GUI for inputting event results and manipulating the projection%0A        JPanel inputPanel = new JPanel();%0A        tabbedPane.addTab(%22Input Results%22, null, inputPanel, null);%0A%0A        // Contains commands relating to the projection system itself, such as closing the socket or sending a Message.POISON%0A        JPanel systemPanel = new JPanel();%0A        tabbedPane.addTab(%22System Options%22, null, systemPanel, null);
 %0A    %7D%0A%0A

Add three tabs