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

Side effect of sun.awt.noerasebackground=true workaround

    Details

    • Subcomponent:
    • Resolved In Build:
      04
    • CPU:
      x86
    • OS:
      windows_2000

      Backports

        Description

        Customer is using the flag "sun.awt.noerasebackground=true" to overcome a repaing bug (id # 4881422). But they see a side effect due to this in that
        during the process of resizing the window, there is a new repaint problem.

        The attached snapshot shows the effect of this bug. The image repaints itself
        after the window is resized and the mouse button is released.

        The problem is also seen only when the "Show window contents while dragging" option in " Control Panel -> Display -> Effects" is turned on.

        The application can be used in "fixed mode" and "floating mode". In fixed mode:

        a. The inner frames are JInterFrames which are lightweight objects and outer
           frames is a heavy weight component.

        b. The new repaint problem is seen only while resizing the outer window.

        In floating mode:

        a. All the windows become JFrames.

        b. The repaint prolbem is seen while resizing all the windows.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tmasunw Tao Ma (Inactive)
                  Reporter:
                  gnagasunsunw Gopinath Nagasundara (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: