public static void clearKeyboardFocus(final Actor actor){
  if (actor != null) {
    clearKeyboardFocus(actor.getStage());
  }
}

public static void clearKeyboardFocus ( final Actor actor ) { if ( actor != null ) { clearKeyboardFocus ( actor . getStage ( ) ) ; } }
null - safe method for clearing keyboard focus .
