public void AccessControl()
    {
        switch(ThisUser.UserType)
        {
            case DOCTOR:
                tbpMain.remove(4);
                break;
            case ADMIN:
                break;
            default:
                btnTestOrder1.setVisible(false);
                pnlPatientInfo.setVisible(false);
                pnlTestInfo.setVisible(false);
                pnlNewTest.setVisible(false);
                pnlReport.setVisible(false);
                tbpMain.remove(4);
                jLabel55.setVisible(false);
                jLabel56.setVisible(false);
                break;
        }
    }