Java Reference
In-Depth Information
//Draw image in top left corner of applet, using
//applet itself as the ImageObserver
g.drawImage(image, 0, 0, this);
The results of submitting the above applet's HTML page to Chrome and IE9 are
shown in Figs . 12.8 and 12.9 respectively.
Fig. 12.8 Output from applet ImageTest1a under Google Chrome
Search WWH ::

Custom Search