How to Get Image from file

Archie Cobbs archie at whistle.com
Tue Jan 26 10:41:26 PST 1999


John C. Hayward writes:
> Dear Kaffe users,
>    Please excuse this a bit off topic query but this group probably
> has the answer.
> 
>    In the applet class of java there is a getImage method for obtaining
> a Image from a URL.  I would like to get an Image from a local file
> in a non applet application.  What is the best way to do so?

Isn't something like "file:/home/user/foo.gif" also considered an URL?

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com


More information about the kaffe mailing list