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

java.awt.Graphics.drawImage is not working correctly

    XMLWordPrintable

Details

    • generic
    • solaris_2.5.1

    Description

      This function, called by java.awt.Graphics.drawImage, which scales an image
      to a different size, does not appear to be working correctly. The attached
      program works fine in JDK 1.0.2, but does not display anything in 1.1 beta2
      or 1.1 beta3.2.

      Within the above function, the ImageRepresentation object is created with
      ir.width and ir.height both equal to zero, and the result is that nothing
      is displayed on the screen.

      Platform: Solaris (reported on AIX)
      Problematic function:
          sun.awt.motif.X11Graphics.drawImage(Image img, int x, int y, int width,
                              int height, Color bg, ImageObserver observer)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rschiavisunw Richard Schiavi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: