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.JTabbedPane;
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) {
        setTitle("Results Wizard");
        // 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);

        JTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP);
        contentPane.add(tabbedPane, BorderLayout.CENTER);

        // Contains configuration options, such as setting a color scheme
        JPanel configPanel = new JPanel();
        tabbedPane.addTab("Configuration", null, configPanel, null);

        // Contains a GUI for inputting event results and manipulating the projection
        JPanel inputPanel = new JPanel();
        tabbedPane.addTab("Input Results", null, inputPanel, null);

        // Contains commands relating to the projection system itself, such as closing the socket or sending a Message.POISON
        JPanel systemPanel = new JPanel();
        tabbedPane.addTab("System Options", null, systemPanel, null);
    }

}

@@ -130,16 +130,46 @@
 tream;%0A%0A
+import javax.swing.BoxLayout;%0A
 import j
@@ -1358,32 +1358,109 @@
 figPanel, null);
+%0A        configPanel.setLayout(new BoxLayout(configPanel, BoxLayout.Y_AXIS));
 %0A%0A        // Con
@@ -1877,21 +1877,98 @@
 nel, null);%0A
+        systemPanel.setLayout(new BoxLayout(systemPanel, BoxLayout.Y_AXIS));%0A
     %7D%0A%0A%7D%0A

Set configPanel and systemPanel to vertical BoxLayout