viewport - How to change the view port in javafx? -
i have created screen gui .
now after program starts want show user firstbtn this:
and after button clicked screen moves in direction of arrow in picture , goes secondbtn
now how should move screen , change view port.
you may use different scenes same stage.
primaystage.setscene(yourscene1);
and same when needed yourscene2
primaystage.setscene(yourscene2);
Comments
Post a Comment