Toolkit.getImage
Class Overview | Class Members |
This Package |
All Packages
public abstract Image getImage( String filename )
Parameters
- filename
- the name of a file containing pixel data
in a recognized file format.
Returns
an image which gets its pixel data from
the specified file.
Description
Returns an image which gets pixel data from the specified file.
public abstract Image getImage( URL url )
Parameters
- url
- the URL to use in fetching the pixel data.
Returns
an image which gets its pixel data from
the specified URL.
Description
Returns an image which gets pixel data from the specified URL.