Created
April 5, 2022 10:27
-
-
Save AlecKotovichSAM/964c2af7b4aa572c24bc4e28e51ba3a0 to your computer and use it in GitHub Desktop.
Revisions
-
AlecKotovichSAM created this gist
Apr 5, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ public class App extends Application { @Override public void start(Stage stage) { var javaVersion = SystemInfo.javaVersion(); var javafxVersion = SystemInfo.javafxVersion(); var label = new Label("Hello, JavaFX " + javafxVersion + ", running on Java " + javaVersion + "."); var scene = new Scene(new StackPane(label), 640, 480); stage.setTitle("SaM Solutions JavaFX App"); stage.setScene(scene); stage.show(); } public static void main(String[] args) { launch(); } }