Code example for JTextComponent

Methods: getBackground

0
			throw new IllegalArgumentException();
		} 
		_property = property;
		_textComponent = textComponent;
		_defaultValue = defaultValue;
		_validColor = _textComponent.getBackground();
	} 
 
	public String getProperty() {
		return _property;
	} 
 
	public void clear(IValidatable bean) {
		_textComponent.setText(_defaultValue);
	} 
 
	public void put(IValidatable bean) {
		try { 
			String s = BeanUtils.getProperty(bean, _property);
			// XXX displays zeros as blank 
Experience pair programming with AI  Get Codota for Java