J2EEOnline
GofPatterns OOPortal
prev prev
  Course navigation
   
Drawing images
Additional Information
public boolean drawImage 
(Image img, int x, int y , ImageObserver observer)
  1. The first three parameters to drawImage() specify the Image object to be drawn, along with its XY position. The image is drawn with its upper left corner at this position.
  2. The last parameter, observer, is a special object used to keep track of the image as it is being loaded.
  Course navigation