单项选择题
setForeground()和()setBackground()定义在哪个类中
A.Graphics
B.Container
C.Component
D.Applet
点击查看答案
相关考题
-
单项选择题
如想改变某组件的尺寸,可用方法()
A.dimension
B.resize
C.area
D.setSize -
单项选择题
用Java中的哪个方法来隐藏用户界面的组件()
A.disable
B.setVisible
C.remove
D.delete -
单项选择题
当为组件调用repaint()时,AWT包调用组件方法()
A.update
B.paint
C.draw
D.show
