Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8119948

StageBuilder.style() doesn't work

    XMLWordPrintable

Details

    Description

      The following code doesn't make stage transparent:

              StageBuilder.create()
                      .style(StageStyle.TRANSPARENT)
                      .scene(SceneBuilder.create()
                          .root(new Group(new Label("This stage expected to be transparent")))
                          .build()
                      )
                      .applyTo(stage);

      However the following code does:

      stage.initStyle(StageStyle.TRANSPARENT);

      Attachments

        1. Bug.java
          1.0 kB
          Alexander Kuznetcov
        2. screenshot-1.jpg
          7 kB
          Alexander Kuznetcov

        Issue Links

          Activity

            People

              ekrejcir Eva Krejčířová (Inactive)
              mrkam Alexander Kuznetcov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: