We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8c1b70 commit 65558a9Copy full SHA for 65558a9
src/main/java/eu/mihosoft/scaledfx/Main.java
@@ -28,6 +28,7 @@
28
package eu.mihosoft.scaledfx;
29
30
import javafx.application.Application;
31
+import javafx.scene.Scene;
32
import javafx.scene.control.Button;
33
import javafx.stage.Stage;
34
@@ -43,5 +44,11 @@ public static void main(String[] args) {
43
44
public void start(Stage primaryStage) throws Exception {
45
ScalableContentPane scp = new ScalableContentPane();
46
scp.setContent(new Button("Scaled Button"));
47
+
48
+ Scene scene = new Scene(scp);
49
50
+ primaryStage.setScene(scene);
51
+ primaryStage.setTitle("Scalable Content Pane Demo");
52
+ primaryStage.show();
53
}
54
0 commit comments