package mathsquared.resultswizard2;

import java.awt.BorderLayout;

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

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

    private JPanel contentPane;

    /**
     * Create the dialog.
     */
    public EventResultsEditorDialog () {
        setModalityType(ModalityType.DOCUMENT_MODAL);
        setModal(true);
        setResizable(false);
        setTitle("Edit Event Results");
        setBounds(100, 100, 450, 300);
        contentPane = new JPanel();
        contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
        contentPane.setLayout(new BorderLayout(0, 0));
        setContentPane(contentPane);

    }

}

@@ -116,16 +116,48 @@
 JPanel;%0A
+import javax.swing.JTabbedPane;%0A
 import j
@@ -863,16 +863,464 @@
 Pane);%0A%0A
+        JTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP);%0A        contentPane.add(tabbedPane, BorderLayout.CENTER);%0A%0A        JPanel indivPanel = new JPanel();%0A        tabbedPane.addTab(%22Individual%22, null, indivPanel, null);%0A%0A        JPanel teamPanel = new JPanel();%0A        tabbedPane.addTab(%22Team%22, null, teamPanel, null);%0A%0A        JPanel honorsPanel = new JPanel();%0A        tabbedPane.addTab(%22Special Honors%22, null, honorsPanel, null);%0A%0A
     %7D%0A%0A%7D

Add three tabs