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

Images disappear in SwingSet2 (win32) after fullscreen switch

XMLWordPrintable

    • 2d
    • rc
    • generic, x86
    • generic, windows_nt, windows_2000

      When running SwingSet2 on various flavors of Windows, certain images
      disappear after making another application (such as the command line tool)
      go into fullscreen mode. These images will alternately disappear and reappear
      with each successive switch into fullscreen mode. The images will reappear
      correctly if another window is dragged over SwingSet2.

      Note that this behavior is not reproducible if DirectDraw acceleration is
      disabled using the -Dsun.java2d.noddraw=true property.

      To reproduce, make command line tool go fullscreen and back to
      window (or hit ctrl-alt-del to bring up the Task Manager) while
      SwingSet2 is running. The SwingSet2 will be repainted improperly:
      certain images will be missing (especially the toolbar icons at top).
      Drag a window over the SwingSet2 frame and it will repaint ok.


      ###@###.### 2002-06-14

      Another CAP member reports the same problem, their app displays quite a
      few icons(attached 3 icon files), but it is only one that has the problem,
      and it only happens once at the beginning. After an initial exposure event,
      such as dragging a window over the button, or even pressing a button, it
      shows up no problem.

      Also if add -Dsun.java2d.noddraw=true VM parameter and there is no problem
      with image. If clear the VM parameter problem shows up again.

            tdv Dmitri Trembovetski (Inactive)
            campbell Christopher Campbell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: