code: protected boolean activateAndFocusComponentWindow(Node c) {
          Window window = c.getScene().getWindow();
          return window instanceof Stage && activateAndFocusWindow((Stage) window);
      }
docs: Try to activate and focus the window containing the component.
  
  @param c the component contained in the window to activate.
  @return <code>true</code> only if the parent window is active at the end of the activation process.