viewport - How to change the view port in javafx? -


i have created screen gui . enter image description here

now after program starts want show user firstbtn this:enter image description here

and after button clicked screen moves in direction of arrow in picture , goes secondbtn enter image description here

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

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -