private void ButtonAceptActionPerformed( java.awt.event.ActionEvent evt) // GEN-FIRST:event_ButtonAceptActionPerformed { // GEN-HEADEREND:event_ButtonAceptActionPerformed try { Attribute Attr; if (ModeGrp) { Attr = Perm.getAttr(PDACL.fGROUPNAME); } else { Attr = Perm.getAttr(PDACL.fUSERNAME); } Attr.setValue(UserComboBox.getSelectedItem()); Attr = Perm.getAttr(PDACL.fPERMISION); Attr.setValue(PermisionComboBox.getSelectedIndex() + 1); Cancel = false; this.dispose(); } catch (PDException ex) { MainWin.Message(MainWin.DrvTT(ex.getLocalizedMessage())); } } // GEN-LAST:event_ButtonAceptActionPerformed