How to see when a scene gets shown?

Werner Lehmann lehmann at
Thu Jun 13 02:33:13 PDT 2013


I have had cases where I would use a Node.sceneProperty listener to 
delay some initializations which depend on a scene. It is not exactly 
what you are asking but maybe this is one of those cases, too.


On 13.06.2013 00:00, Pedro Duque Vieira wrote:
> Hi,
> On my swing/javafx app - javafx scene embedded in a swing app, I need to
> know when the scene gets shown to the user or becomes visible. Or when the
> same happens to a node.
> I've glanced through the API but have not found a way to do it. Does anyone
> know how?

More information about the openjfx-dev mailing list