title: How to hide or remove javafx tooltip when it is triggered manually?
body: <p>I have been trying to figure out a way to hide this tooltip when it is triggered by a function and shown in the scene. This is my function. </p>
  
  <pre><code> private void ValidateRequired(TextField field){
      Tooltip errorTip = null;
      if(field.getText().equals("")){
          field.getStyleClass().add("errorField");
          errorTip = new Tooltip("This is required");
          errorTip.getStyleClass().removeAll();
          Scene scene = field.getScene();
          scene.getStylesheets().add(this.getClass().getResource("../css/sale.css").toExternalForm());
          errorTip.getStyleClass().add("errorTip");
          Point2D p = field.localToScene(0.0, 0.0);
          errorTip.show(field,p.getX()
                  + field.getScene().getX() + field.getScene().getWindow().getX(), p.getY()
                  + field.getScene().getY() + field.getScene().getWindow().getY()+field.getHeight()+2);
  
  
      }
      else{
          errorTip.hide();
      }
  }
  </code></pre>
  
  <p>This function is called when Textfield lose focus. This function get called by the following listener. </p>
  
  <pre><code>currentField.focusedProperty().addListener((ov, oldV, newV) -&gt; {
              if (!newV) {
                  ValidateRequired(currentField);
              }
              else{
  
              }
          });
  </code></pre>