Online Software Educational Training - IT Tutorials - Online Education Training for Computer Software


Home

JAVA APPLET

Displaying an Image

Once you have an image, you can display it by using drawImage(), which is a member of the Graphics class. It is shown here

boolean drawImage(Image imgObj, int left, int top, ImageObserver imgob)

Here is an example to display an image in applet






Previous

Next