import java.applet.Applet;
import java.awt.Graphics;
import java.awt.Color;
import java.awt.Font;
public class jex extends Applet
{
public void paint(Graphics g)
{
int red=190;
int blue=120;
int green=125;
Color c=new Color(red,blue,green);
g.setColor(c);
g.fillOval(50,25,100,120);
g.drawRoundRect(25,25,100,100,120,100);
g.setXORMode(Color.black);
g.drawRoundRect(25,125,100,100,120,100);
g.fillOval(50,125,100,120);
showStatus("javac"+g.getColor().toString());
g.copyArea(25,25,100,100,200,200);
}
}
代码编译时可以通过,但APPLET打开后没有COPY的效果,并且CMD中提示一堆错误提示。剪切的命令是什么?
參考答案:好好看书