Stormeye(le grand retour) 进来
Image workspace;
Graphics offscreen;
public void init()
{
workspace=createImage(size().width,size().height);
offscreen=workspace.getGraphics();
}
public void paint(Graphics screen)
{
offscreen.drawRect(0,0,size().width,size().height );
//在工作区画一个方块
screen.drawImage(workspace,0,0,this);
//把工作区放在屏幕的(0,0)处
}
public void update(Graphics screen)
{
paint(screen);
}
//---------------------------------------------------
为什么我画不出图像来。