code: @Override
  	public void setFocused(boolean focused)
  	{
  		if (!isEnabled() || !isVisible())
  			return;
  
  		if (!this.focused)
  			selectAllOnRelease = true;
  
  		super.setFocused(focused);
  	}
docs: Sets the focused.
  
  @param focused the new focused