Code example for JTextComponent

Methods: setEnabled

0
	public void markInvalid() { 
		_textComponent.setBackground(Binding.INVALID_COLOR);
	} 
	 
	public void setEnabled(boolean enabled) {
		_textComponent.setEnabled(enabled);
	} 
} 
Connect your IDE to all the code out there  Get Codota for Java