Mac OSX Yosemite StageStyle.UTILITY comes up with wrong window decoration

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 8u60
    • Affects Version/s: 8u40
    • Component/s: javafx
    • None
    • Environment:

      Mac OSX Yosemite 10.10.1

      Apply this diff to HelloRectangle.java:

      diff --git a/apps/toys/Hello/src/main/java/hello/HelloRectangle.java b/apps/toys/Hello/src/main/java/hello/HelloRectangle.java
      --- a/apps/toys/Hello/src/main/java/hello/HelloRectangle.java
      +++ b/apps/toys/Hello/src/main/java/hello/HelloRectangle.java
      @@ -31,6 +31,7 @@
       import javafx.scene.paint.Color;
       import javafx.scene.shape.Rectangle;
       import javafx.stage.Stage;
      +import javafx.stage.StageStyle;
       
       public class HelloRectangle extends Application {
       
      @@ -51,6 +52,7 @@
       
               root.getChildren().add(rect);
               stage.setScene(scene);
      + stage.initStyle(StageStyle.UTILITY);
               stage.show();
           }

            Assignee:
            Morris Meyer (Inactive)
            Reporter:
            Morris Meyer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: