373839404142434445
dlg.setLocationRelativeTo(null); dlg.setVisible(true); if (dlg.getReturnStatus() == DialogOkCancel.RET_OK) { PanelPropertyEditor prop = dlg.getMainPanel(); prop.applyChangeOnBean(doc); } } }