Toolkit.getImage

Toolkit.getImage

Class Overview | Class Members | This Package | All Packages

Syntax 1
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.



Syntax 2
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.