Answer the question
In order to leave comments, you need to log in
How to know if an instance of a class has been brought to the stage?
Kind
How to check if an instance of a class, for example, Label, has been added to the display?
Answer the question
In order to leave comments, you need to log in
You can subscribe to the Node#sceneProperty property - the combination of values newValue != null && oldValue == null will indicate that the entire graph of controls is displayed on the screen (BorderPane->FlowPane(center)->VBox(#3)->Label, Button just subscribe to BorderPane#sceneProperty)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question