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

Change the color of an oval at click in Java AWT -

c# - Unity IoC Lifetime per HttpRequest for UserStore -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -