ADD::added title to main program stage
now displays "Greenify - <username>"
This commit is contained in:
@@ -71,6 +71,7 @@ public class UserController {
|
|||||||
.getResource("stylesheets/dashboardStyle.css").toExternalForm());
|
.getResource("stylesheets/dashboardStyle.css").toExternalForm());
|
||||||
Stage appStage = new Stage();
|
Stage appStage = new Stage();
|
||||||
appStage.setScene(scene);
|
appStage.setScene(scene);
|
||||||
|
appStage.setTitle("Greenify - " + usernameField.getText());
|
||||||
appStage.show();
|
appStage.show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user