code: public void actionPerformed(ActionEvent e) {
  		if (textField.getForeground().equals(darkGreen)) {
  			setValue(Integer.valueOf(textField.getText()).intValue());
  		}
  	}
docs: After any user input, the value of the textfield is proofed. Depending on
  being an integer, the value is colored green or red. If the textfield is
  green, the enter key is accepted and the new value is set.
  
  @param e
  Description of the Parameter