上Buff:你必须十分努力,才能看起来毫不费力。
Brief Introduction:变量的三个性质: Name(只能以字母或下划线开始,只能包括字母数字和下划线) Type(几种Primitive Type: int double boolean char)和Value.
赋值语句和等于的区别,这个就不赘述了
Glable Lable = new GLable("Hello World" , 100 ,75 );
在这个语句中,GLable是一个类,我们定义了一个类型是GLable类的变量Lable,之后我们实例化一个GLable的对象为这个变量赋值。
图像的象限:和C一样,左上角是(0,0)
GRECT,GOVAL,GLINE,GLABLE都是继承GOBJECT. GObject有以下方法:setColor(color) ,setLocation(x,y), setMove(dx,dy),
如果想涂颜色,都在JAVA.AWT.*里面
GetWidth()和GetHeight()来获取窗口的大小
Next--->Programming Methodology(六)