protected void addUpdater(JToggleButton check) {
    check.addActionListener(new ActionListener() {
      @Override
      public void actionPerformed(ActionEvent actionEvent) {
        updateOkButton();
      }
    });
  }
protected void addUpdater(JToggleButton check)