package mathsquared.resultswizard2;

import java.awt.BorderLayout;

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 JPanel contentPane;

    /**
     * Create the frame.
     */
    public AdminGuiFrame () {
        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);
    }

}

@@ -59,16 +59,85 @@
 rLayout;
+%0Aimport java.io.ObjectInputStream;%0Aimport java.io.ObjectOutputStream;
 %0A%0Aimport
@@ -375,16 +375,88 @@
 rame %7B%0A%0A
+    private ObjectInputStream ois;%0A    private ObjectOutputStream oos;%0A%0A
     priv
@@ -551,11 +551,133 @@
 me (
-) %7B
+ObjectInputStream ois, ObjectOutputStream oos) %7B%0A        // Initialize comms%0A        this.oos = oos;%0A        this.ois = ois;%0A
 %0A   

Add OIS/OOS to constructor and add fields