public AdminPage(JPanel _contentPane) {
        this.contentPane = _contentPane;
        userPickedForAdminServices = new String("");

        ghostText();

        //populate patient combobox
        fillComboBox();

        logoutButton.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                CardLayout c1 = (CardLayout) contentPane.getLayout();
                c1.show(contentPane,"Login Page");
            }
        });

        searchPatient.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                searchPatient();
            }
        });

        viewSurgery_scheduleSurgeryButton.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                adminPatientServices_tabbedPane.setSelectedIndex(1);
            }
        });

        newPatient_createPatientButton.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                newPatient();
            }
        });

        admitPatient_findButton.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                findAdmitPatient();
            }
        });

        admitPatient_admitButton.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                admitPatient();

            }
        });

        submitRoomChangeButton.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                submitRoomChange();
            }
        });
        scheduleSurgeryButton.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                scheduleSurgeryForSelectedUser();
            }
        });
    }