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

Translucent frame is printed as Opaque

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      I have a frame which contains AWT components. I making the awt frame as translucent from another swing frame which contains a slider. As the slider values change the opacity of the awt frame also changes. When i take a print of the translucent frame, it gets printed as the opaque. I was expecting that translucent frame with translucent components to be printed.

      Step to Reproduce :-
      ---------------------
      1) Run the attached testcase. A swing frame is displayed.
      2) Click on "ShowAWTFrame" button. An undercorated frame is seen which contains AWT components.
      3) Change the value of the slider by dragging the nob of the slider. Observe that AWT Frame gets translucent.
      4) Click on the "PrintAWTComponent" button on the swing frame. A print dialog is seen. Click OK button. Observe the components & frame printed on the paper. If you see them printed as opaque then the bug is reproduced.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                anthony Anthony Petrov (Inactive)
                Reporter:
                lpremkumsunw Lawrence Premkumar1 (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: