Skip to content

Commit

Permalink
version 0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
miho committed Sep 24, 2016
1 parent d8c1b70 commit 65558a9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/java/eu/mihosoft/scaledfx/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
package eu.mihosoft.scaledfx;

import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.stage.Stage;

Expand All @@ -43,5 +44,11 @@ public static void main(String[] args) {
public void start(Stage primaryStage) throws Exception {
ScalableContentPane scp = new ScalableContentPane();
scp.setContent(new Button("Scaled Button"));

Scene scene = new Scene(scp);

primaryStage.setScene(scene);
primaryStage.setTitle("Scalable Content Pane Demo");
primaryStage.show();
}
}

0 comments on commit 65558a9

Please sign in to comment.