Code example for JTextComponent

Methods: getText

0
		} 
	} 
 
	public void get(IValidatable bean) {
		try { 
			BeanUtils.setProperty(bean, _property, _textComponent.getText());
		} catch (Exception e) {
			throw new BindingException(e);
		} 
	} 
	 
	public void markValid() { 
		_textComponent.setBackground(_validColor);
		_textComponent.requestFocusInWindow();
	} 
 
	public void markInvalid() { 
		_textComponent.setBackground(Binding.INVALID_COLOR);
	}