4

I would like to know, how to solve one problem.

OK. I have two scenes. I want to set not resizable to first scene, but the second one is still resizable. I don't know how to do it.

 

Do you have any idea?

Thanks for your help.

t.piwowarczyk
  • 365
  • 2
  • 5
  • 17

1 Answers1

13

Your scene can change scenes as much as you need and use the method setResizable

Scene scene = new Scene(bp);
primaryStage.setScene(scene);
primaryStage.setResizable(false);
ΦXocę 웃 Пepeúpa ツ
  • 47,427
  • 17
  • 69
  • 97