Patch: Implement URLContentHandler for images

Bryce McKinlay mckinlay@redhat.com
Fri Jul 23 11:36:00 GMT 2004


This patch implements basic URLContentHandler 
(URLConnection.getContent()) support for images. The content handlers 
use the AWT toolkit's image support, specifically, GdkPixbufDecoder. 
This patch allows the JUnit AWT GUI to run. There is a small layout 
glitch (screenshot attached), but apart from this, JUnit seems to work 
perfectly! Cool stuff.

Because it mostly effects java.net, I'm planning to check this patch 
into libgcj HEAD, and also check the small toolkit changes into 
java-gui-branch. Graydon, does that sound ok to you?

Regards

Bryce


-------------- next part --------------
A non-text attachment was scrubbed...
Name: libjava-url-image-handler.patch
Type: text/x-patch
Size: 9647 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040723/566d2662/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: junit-screenshot.jpg
Type: image/jpeg
Size: 28216 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040723/566d2662/attachment.jpg>


More information about the Java-patches mailing list