This is a really excellent utility!
I'm investigating the possibility of iteratively developing UI's and working with other JavaFX rendered objects using JShell. Currently, when I try instantiate a javafx.stage.Stage I get the problem of the code not running in the FX-thread. However, if I always wrap all calls within a Platform.runLater, then I can't assign UI elements, like the stage or the buttons, to variables in the JShell workspace.
Any possibility of resolving that?
This is a really excellent utility!
I'm investigating the possibility of iteratively developing UI's and working with other JavaFX rendered objects using JShell. Currently, when I try instantiate a
javafx.stage.StageI get the problem of the code not running in the FX-thread. However, if I always wrap all calls within aPlatform.runLater, then I can't assign UI elements, like the stage or the buttons, to variables in the JShell workspace.Any possibility of resolving that?