code: public boolean verify(JComponent input) {
          JTextField tf = (JTextField) input;
          try {
              int inputInt = Integer.parseInt(tf.getText());
              return (inputInt >= min && inputInt <= max);
          } catch (NumberFormatException e) {
              return false;
          }
      }
docs: Verifies that the input's text value can be converted to an integer that is {@code >= min} and {@code <=max}.
  
  @param input a JTextField instance
  @return {@code true} if an only if the text input contains a value that