case 1: errorMessage = "Le responsable doit tre slectionn"; break;
        public void actionPerformed(ActionEvent arg0) {            String errorMessage = null;            switch (checking()) {            case 0:                isOk = true;                MFWFrame.dispose();                return;            default:                errorMessage = "Erreur inconnue";            }            JOptionPane.showMessageDialog(null, errorMessage, "Erreur", JOptionPane.ERROR_MESSAGE);        }