JRubyFX taking action when the scene is loaded


#1

Hello…

I´m trying to execute a script as soon as the scene is shown on a
JRubyFX
application, but I´m not being able to do it. I can add a button and
when
the button is clicked the script is executed, buy I haven´t managed to
do
it automatically.

Thanks is advance!