Skip to content

(feat) JavaFX stage setup util. #4

@hastebrot

Description

@hastebrot

A method that accepts stage initialisation code like Application::start() without the need to call Application.launch().

setupStage {
    val stage = Stage()
    stage.title = "hello"
    stage.scene = Scene(StackPane(Label("hello")), 200.0, 200.0)
    stage.show()
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions