File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/javafxlibrary/testapps Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 55import javafx .scene .Parent ;
66import javafx .scene .Scene ;
77import javafx .stage .Stage ;
8+ import javafx .stage .StageStyle ;
89
910public class FinderApp extends Application {
1011
1112 int scale = 200 ;
1213
1314 @ Override
1415 public void start (Stage firstStage ) throws Exception {
15-
1616 Stage secondStage = new Stage ();
1717 Stage thirdStage = new Stage ();
1818 Stage fourthStage = new Stage ();
@@ -27,14 +27,14 @@ public void start(Stage firstStage) throws Exception {
2727
2828 for (int i = 0 ; i < stages .length ; i ++) {
2929 Stage current = stages [i ];
30+ current .initStyle (StageStyle .DECORATED );
3031 current .setWidth (scale );
3132 current .setHeight (scale );
3233 current .setX (i * scale );
34+ current .setY (100 );
3335 current .setScene (scenes [i ]);
3436 current .setTitle ("Window " + (i + 1 ));
3537 current .show ();
36-
37-
3838 }
3939
4040 }
You can’t perform that action at this time.
0 commit comments