@Override
public void actionPerformed(ActionEvent e) {
DialogOkCancel<PanelPropertyEditor> dlg = new DialogOkCancel<PanelPropertyEditor>(
MainFrame.FRAME, "Propriété du document", true,
new PanelPropertyEditor(doc));
dlg.setLocationRelativeTo(null);
dlg.setVisible(true);
if (dlg.getReturnStatus() == DialogOkCancel.RET_OK) {
PanelPropertyEditor prop = dlg.getMainPanel();
prop.applyChangeOnBean(doc);
}
}