to masterz 书上没这样的函数呀!只有: drawImage(Image img, int dx1,int dy1, int width,int height, ImageObserver observer)
drawImage(Image, int, int, int, int, int, int, int, int, ImageObserver) - Method in class java.awt.Graphics Draws as much of the specified area of the specified image as is currently available, scaling it on the fly to fit inside the specified area of the destination drawable surface. 你用那个版本的jdk. 以上是jdk1.3的api
书上没这样的函数呀!只有:
drawImage(Image img,
int dx1,int dy1, int width,int height,
ImageObserver observer)
Draws as much of the specified area of the specified image as is currently available, scaling it on the fly to fit inside the specified area of the destination drawable surface.
你用那个版本的jdk.
以上是jdk1.3的api