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

MAWT+OGL: resizing top-level windows does not work

XMLWordPrintable

    • b43
    • generic
    • generic

      Run any demo application (SwingSet2, Notepad, Java2Demo, etc) with the
      -Dsun.java2d.opengl=true system property. When XAWT is used (by default on
      Linux), top-level windows can be resized and everything looks fine. When
      MAWT is used (by default on Solaris), top-level windows do not repaint properly
      when resized.

      It appears that with XAWT, GLXSurfaceData objects are recreated when the
      window is resized, which causes the OGLSDOps width/height fields to be
      properly reinitialized. In the MAWT case, it looks like the GLXSurfaceData
      object for the window is not recreated, and therefore the width/height fields
      are not reinitialized.

            agerasimsunw Alexander Gerasimov (Inactive)
            campbell Christopher Campbell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: