classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] FYI: javax.swing.ImageIcon fix


From: Roman Kennke
Subject: [cp-patches] FYI: javax.swing.ImageIcon fix
Date: Fri, 08 Apr 2005 20:09:13 +0200

Hi,

I commit the attached fix. This makes ImageIcon wait for it's image to
load completely as specified in the API docs to ImageIcon.

/Roman

2005-04-08  Roman Kennke  <address@hidden>

        * javax/swing/text/ImageIcon.java
        (ImageIcon): Use setImage instead of direct assignment.
        (setImage): Call loadImage to make sure that the image is loaded.
        (loadImage): Waits for the image to complete loading.
        (getImageLoadStatus): Added. Returns the load status of the
        image.


Attachment: ImageIcon.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]