鱼
鱼片干子
Unregistered / Unconfirmed
GUEST, unregistred user!
能否这样写?
Image image=getImage(getCodeBase(),"image.jpg");
Image foreimage=getImage(getCodeBase(),"foreimage.jpg");
g=image.getGraphics();
//在图像image上画foreimage
g.drawImage(foreimage,0,0,forewidth,foreheight,0,0,forewidth,foreheight,this);
但是好像出错了! 不知道怎么回事?请大侠门指教!
Image image=getImage(getCodeBase(),"image.jpg");
Image foreimage=getImage(getCodeBase(),"foreimage.jpg");
g=image.getGraphics();
//在图像image上画foreimage
g.drawImage(foreimage,0,0,forewidth,foreheight,0,0,forewidth,foreheight,this);
但是好像出错了! 不知道怎么回事?请大侠门指教!