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

MemoryImageSource images draw nothing the first time drawImage(w,h) is called

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.1
    • 1.1
    • client-libs
    • None
    • 1.1fcs
    • generic, x86
    • solaris_2.5.1, windows_95
    • Not verified


      Platform: Solaris (AIX)

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

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: