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

Draw routines paint outside of bounds with JInternalFrame

XMLWordPrintable

    • 007
    • generic, x86, sparc
    • solaris_2.5.1, solaris_2.6, windows_nt

        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?

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: