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

JavaFX SwingNode content is not refreshed when using Metal pipeline

    XMLWordPrintable

    Details

    • Subcomponent:
      2d

      Description

      To reproduce this:

      1. Either build or download/unzip the JavaFX 15-ea SDK

      2. Run the attached HelloSwingNode test program on the latest build of lanai with the metal pipeline enabled:

      $ java --module-path $JAVAFX/javafx-sdk-15/lib --add-modules javafx.swing,javafx.controls -Dsun.java2d.metal=true HelloSwingNode

      It will display correctly the first time, but if you click on the Swing button, you will not get the expected changes in the button style. Further, if you resize the window, both the Swing label and Swing button will disappear.

      This works correctly when using the default OpenGL pipeline.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              psadhukhan Prasanta Sadhukhan
              Reporter:
              kcr Kevin Rushforth
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: