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

Draw routines paint outside of bounds with JInternalFrame

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      007
    • CPU:
      generic, x86, sparc
    • OS:
      solaris_2.5.1, solaris_2.6, windows_nt

      Backports

        Description

        When using any of the "draw" routines from awt/graphics.java inside of a JInternalFrame, rendering occurs beyond the JInternalFrame bounds.

        Attached is a sample program. To demo the problem follow these steps:

        1. Run the program "java CompPaint"
        2. Click inside of the JInternalFrame.
        3. The program will render a red, filled rectangle that exceeds
                   the bounds of the JInternalFrame.

        Given that JInternalFrame is a lightweight component and the awt/graphics.java draw routines are heavyweight, is a fix even conceivable?

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                lbunnisunw Lara Bunni (Inactive)
                Reporter:
                duke J. Duke (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: