code: public final void bounce() {
          ScaleTransition transition = new ScaleTransition(Duration.millis(200), this);
          setCache(true);
          setCacheHint(CacheHint.SCALE);
          transition.setAutoReverse(true);
          transition.setFromX(1);
          transition.setToX(.8);
          transition.setFromY(1);
          transition.setToY(.8);
          transition.setCycleCount(2);
          transition.setOnFinished(evt -> setCache(false));
          transition.play();
      }
docs: Makes the entry view "bounce" by applying a scale transition. This is a
  good way to make an entry stand out, e.g. when it receives the keyboard
  focus.