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

Painting artifacts is seen when panel is made setOpaque(false) for a translucent window

    Details

    • Subcomponent:
    • Introduced In Build:
      b12
    • Introduced In Version:
    • Resolved In Build:
      b02
    • CPU:
      x86
    • OS:
      windows_xp
    • Verification:
      Not verified

      Backports

        Description

        I have a frame , which is having a jpanel in the north & jpanel is having a button . In the center of the frame i have added a Jscrollpane which holds a textarea. I called panel.setOpaque(false) & set the frame to become translucent by calling com.sun.awt.AWTUtilities.setWindowOpaque(frame, false); , when i call this method i can see two button . I have attached screen shot of the same. When i comment the com.sun.awt.AWTUtilities.setWindowOpaque(frame, false); line , Every thing works as expected.

        Step to reproduce:-
        ----------------------
        1) Run the attached testcase.
        2) If you see two button to the north of the frame , then the bug is reproduced.
        Or see screen shot. If the gui & screen is seen then the bug is reproduce.


        I run this program on 6u10 b14 .

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  alexp Alexander Potochkin (Inactive)
                  Reporter:
                  lpremkumsunw Lawrence Premkumar1 (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: