if (window.isOk()) { group.setHeading(window.getIntitule());  try { DaoManager.getGroupDao().modifyGroup(group);  mainFrame.getModel().fireRefreshGroup(group, BoTModel.TYPE_MODIFY);  JOptionPane.showMessageDialog(null, "Modification effectue avec succs", "Information", JOptionPane.INFORMATION_MESSAGE); } catch (Exception e) { JOptionPane.showMessageDialog(null, "Une erreur interne est survenue", "Erreur", JOptionPane.ERROR_MESSAGE); } }
    public void actionPerformed(ActionEvent arg0) {        AddModifyGroupWindow window = new AddModifyGroupWindow();        window.show();    }