语句Timer time1 = new Timer(100,this);定义的计时器对象事件间隔为()事件监听器为()
A. 100s,窗体
B. 100ms,窗体
C. 100s,风扇
D. 100ms,风扇
查看答案
语句“g2d.fillArc(x,y,2*radius,2*radius,i,30);”绘制的填充圆弧属性为()
A.起点坐标(x,y),宽高均为2r,起始角度i,弧角度30
B.起点坐标(2r,2r),宽高分别为下,y,起始角度i,弧角度30
C.起点坐标(x,y),宽高均为2r,起始角度30,弧角度i
D.起点坐标(2r,2r),宽高分别为下,y,起始角度i,弧角度30
FanAnimal类中,语句“jp.setLayout(new FlowLayout(FlowLayout.CENTER,30,30));”设置了面板的布局方式为____面板内组件____对齐。
TransPane类中,语句“int xCenter=getWidth()/2;”是将xCenter的值设为容器____的一半
TransPane类中,语句“ int yCenter=getHeight()/2;”定义了yCenter的值设为容器高度的一半。()
A. 对
B. 错