public void focusWindow(){
  stage.requestFocus();
}

public void focusWindow ( ) { stage . requestFocus ( ) ; }
sets the focus to the application window . this will on most platforms remove the focus from the currently focused input element .
