CreateEvent(Events event) {
        events = event;
        innerPanel = new JPanel();
        innerPanel.setLayout(new GridLayout(0, 1));
        JLabel instrucLabel = new JLabel("Enter all details below");

        JLabel eventNameLab = new JLabel("Event Name");
        eventNameTf = new JTextField();

        JLabel eventDateLab = new JLabel("Event Date");

        String[] months = {"01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12"};
        monthsPicker = new JComboBox(months);
        monthsPicker.setSelectedIndex(0);

        String[] days = new String[31];
        for (int i = 0; i < days.length; i++) {
            days[i] = (i + 1) + "";
        }

        daysPicker = new JComboBox(days);
        daysPicker.setSelectedIndex(0);

        String[] years = new String[120];
        for (int i = 0; i < years.length; i++) {
            years[i] = (i + 1900) + "";
        }

        yearsPicker = new JComboBox(years);
        yearsPicker.setSelectedIndex(years.length - 6);


        String[] hours = {"00", "01", "02", "03", "04", "05", "06", "07", "08",
            "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19",
            "20", "21", "22", "23"};


        JLabel startHourLab = new JLabel("Start Hour");
        JLabel endHourLab = new JLabel("End Hour");

        startHourPicker = new JComboBox(hours);
        startHourPicker.setSelectedIndex(0);

        endHourPicker = new JComboBox(hours);
        endHourPicker.setSelectedIndex(0);

        errorMsg = new JLabel();
        errorMsg.setForeground(Color.red);

        JButton submitButton = new JButton("Submit!");
        submitButton.addActionListener(this);

        innerPanel.add(instrucLabel);
        innerPanel.add(eventNameLab);
        innerPanel.add(eventNameTf);
        innerPanel.add(eventDateLab);
        innerPanel.add(monthsPicker);
        innerPanel.add(daysPicker);
        innerPanel.add(yearsPicker);
        innerPanel.add(startHourLab);
        innerPanel.add(startHourPicker);
        innerPanel.add(endHourLab);
        innerPanel.add(endHourPicker);
        innerPanel.add(errorMsg);
        innerPanel.add(submitButton);

        // create some padding
        innerPanel.setBorder(new EmptyBorder(5, 5, 5, 5));
        add(innerPanel);
        setVisible(true);

    }