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

Better documentation for java.awt.image.MemoryImageSource.newPixels()

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 1.4.0
    • 1.2.0
    • client-libs
    • 2d
    • beta
    • x86
    • windows_2000



      Name: skT45625 Date: 08/15/2000


      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
      Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)



      I wiuld like to see better documentation on the one method of class
      MemoryImageSource:

      newPixels()
      - For example, after calling newPixels(), will the screen automatically update
      itself, or is a separate call to either repaint() or drawImage() needed to put
      the updated image on screen? Also, on IE5, it would seem that on first
      initialising and using a MemoryImageSource, paint is called twice? This happens
      only once. Finally, when newPixels is called, and the screen refreshes, it
      would appear to have been cleared to black first, and you get a flickering
      effect.
      (Review ID: 108452)
      ======================================================================

            jballsunw Jennifer Ball (Inactive)
            skondamasunw Suresh Kondamareddy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: