package mathsquared.resultswizard2;

import javax.swing.JDialog;

/**
 * Runs the GUI by which an event administrator can input or edit {@link EventResults}.
 * 
 * @author MathSquared
 * 
 */
public class EventResultsEditorDialog extends JDialog {

    /**
     * Create the dialog.
     */
    public EventResultsEditorDialog () {
        setModalityType(ModalityType.DOCUMENT_MODAL);
        setModal(true);
        setResizable(false);
        setTitle("Edit Event Results");
        setBounds(100, 100, 450, 300);

    }

}

@@ -45,23 +45,120 @@
 java
-x.swing.JDialog
+.awt.BorderLayout;%0A%0Aimport javax.swing.JDialog;%0Aimport javax.swing.JPanel;%0Aimport javax.swing.border.EmptyBorder
 ;%0A%0A/
@@ -340,16 +340,49 @@
 alog %7B%0A%0A
+    private JPanel contentPane;%0A%0A
     /**%0A
@@ -603,16 +603,16 @@
 ults%22);%0A
-
         
@@ -641,16 +641,204 @@
 0, 300);
+%0A        contentPane = new JPanel();%0A        contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));%0A        contentPane.setLayout(new BorderLayout(0, 0));%0A        setContentPane(contentPane);
 %0A%0A    %7D%0A

Add an actual contentPane