public void actionPerformed(java.awt.event.ActionEvent evt) {
            if (evt.getSource() == addButton) {
                CustomModeDialog.this.addButtonActionPerformed(evt);
            }
            else if (evt.getSource() == removeButton) {
                CustomModeDialog.this.removeButtonActionPerformed(evt);
            }
            else if (evt.getSource() == cancelButton) {
                CustomModeDialog.this.cancelButtonActionPerformed(evt);
            }
            else if (evt.getSource() == okButton) {
                CustomModeDialog.this.okButtonActionPerformed(evt);
            }
            else if (evt.getSource() == newValueTextField) {
                CustomModeDialog.this.newValueTextFieldActionPerformed(evt);
            }
        }