A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Switching over multiple windows with static GUI's
Joined: Jun 28, 2013
Jun 28, 2013 04:32:14
Switching over multiple windows so that window should be static and content should be dynamic while switching.
John Damien Smith
Joined: Jan 26, 2012
Jul 03, 2013 17:06:41
Construct a new scene for the new content and invoke stage.setScene(nextScene) when you want to change the content.
If you just want to update a portion of the scene (e.g. a panel and not the whole scene), then
replace the panel content with your new content
If your application is fxml based and you want to load a new fxml for the new scene or have transitions between the scene content, then see this
tutorial on managing multiple screens in JavaFX
I agree. Here's the link:
subject: Switching over multiple windows with static GUI's
A Practise application - some advice
Problems starting default server in WSAD 5.0
windows vs mac
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015