Contains implicit methods to convert from
javafx.application
Classes to
their ScalaFX counterparts.
ScalaFX applications can extend JFXApp to create properly initialized JavaFX applications.
ScalaFX applications can extend JFXApp to create properly initialized JavaFX applications.
On the back end JFXApp
first calls javafx.application.Application.launch then executes body of its
constructor when
javafx.application.Application.start(primaryStage:Stage)
is called. Here is an example use:
object SimpleScalaFXApp extends JFXApp { stage = new PrimaryStage { title = "Simple ScalaFX App" scene = new Scene { root = new StackPane { padding = Insets(20) content = new Rectangle { width = 200 height = 200 fill = Color.DEEPSKYBLUE } } } } }
Wrapper for javafx.application.ConditionalFeature
Application platform support, wrapper for javafx.application.Platform.
Wraps
javafx.application
package.