Undecorator icon indicating copy to clipboard operation
Undecorator copied to clipboard

Replace stage with other

Open alamenai opened this issue 6 years ago • 0 comments

I had this piece of code :

     `FXMLLoader signUpLoader = new FXMLLoader();
    signUpLoader.setResources(Configuration.getSignUpBundle());
    signUpLoader.setLocation(Indigo.class.getResource("/com/javafx/pattern/mvc/views/fxml/SignUp.fxml"));
    Parent parent = signUpLoader.load();
    //Create undecorator stage (Using Undecorator library https://arnaudnouard.wordpress.com/2014/12/20/undecorator-bis/)
    Undecorator undecorator = new Undecorator(primaryStage, (Region) parent);

`

As far as i know each constructor parameter has a getter and setter ,but it seems they are absents for first parameter "Stage",because I need to replace the old stage like this undecorator.setStage();

alamenai avatar Mar 28 '18 22:03 alamenai