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

Minor tweaks to FX/Swing painting

XMLWordPrintable

      FX/Swing interoperability performance is now a critical issue. There are several ideas how it can be improved, for example, merge AWT and FX event dispatch threads or share graphics resources between Java2D and Prism. However, any significant changes like this require a lot of investigation and can only be implemented in JDK 8 / JavaFX 3.0

      At the same time, there are several "minor" issues with the current JFXPanel implementation, which can be improved in 2.2:

      1. BufferedImage tweaks (format, "manageable" status, etc.)

      2. Avoid extra pixels copy from EmbeddedScene to JFXPanel

      3. Doesn't call to EmbeddedScene from paintComponent(), if FX scene has not changed

      4. Respect JFXPanel dirty regions, so we don't repaint the whole scene every time

            Unassigned Unassigned
            art Artem Ananiev (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Imported: