Saturday, 9 September 2017

Other methods of Applet

public Image getImage(URL url)
public Image getImage(URL url, String name)
            Returns an image object that can be printed on the screen.
Ex :
Image im = getImage(getCodeBase(),"image.jpg");

drawImage(im,100,100,this);

No comments:

Post a Comment

Featured post

Development Of JAVA Program