This completes the image loading code of XToolkit. All image loading is performed by ImageIO, and the resulting BufferedImage so then transferred to an XImage. In the future I hope we can make the XImage the DataBuffer of the BufferedImage, so that this step can be avoided.

2006-07-14  Roman Kennke  <[EMAIL PROTECTED]>

        * gnu/java/awt/peer/x/XToolkit.java
        (XToolkit): Install properties to SystemProperties
        rather than System, to avoid SecurityManager.
        (getImage(String)): Return error image when string is invalid.
        (createImage(URL)): Moved image loading to helper method.
        (createImage(ImageProducer)): Implemented.
        (createImage(byte[],int,int)): Implemented.
        (createImage(InputStream)): New helper method.

/Roman


Reply via email to