I want to minimize my JavaFX window, only after a small SequentialTransition has taken place on the whole Stage. However, whenever write a statement after the transition statement, it takes place along with the transition. The window is minimized, using the method
setIconified()
But it minimizes before the transition takes place.
Register a callback with setOnFinish