notifyOnStandardError = stdErrorCB.isSelected(); Enumeration buttons = statusButtons.getElements(); while (buttons.hasMoreElements()) { NodeStatusButton button = (NodeStatusButton)buttons.nextElement(); button.setNotifyOnStandardError(notifyOnStandardError); }
  private void setNotifyMenuItem_actionPerformed() {    String s =       (String)JOptionPane.showInputDialog(this,                                          "Search string:",                                          "Notification",                                          JOptionPane.QUESTION_MESSAGE,                                          null, null, notifyCondition);    if (s == null || s.length() == 0)      notifyCondition = null;    else      notifyCondition = s;    setNotification();  }