Skip to content

Running JavaFX 11 via JShell #4

@anishthecoder

Description

@anishthecoder

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions