题目内容

在图形用户界面编程中,用于设置组件大小的方法是()

A. paint( )
B. setSize( )
C. getSize( )
D. repaint( )

查看答案
更多问题

_______ refers to the physical components that a computer is made of._______是指组成计算机的物理组件。

A. Device设备
B. System系统
C. Hardware硬件
D. Software软件

The major components of a typical computer system consist of: 典型计算机系统的主要组件包括:

A. The CPU 中央处理器
B. Input/output devices 输入/输出设备
C. Main memory 主存
D. Secondary storage devices 辅助存储设备
E. All of the above 以上都是

下列方法中,用于JFrame窗口可见性的是()

A. update( )
B. paint(Graphics g)
C. repaint( )
D. setVisible(boolean b)

GUI组件(Component):构成GUI界面的基本元素,具有坐标位置、尺寸、字体、颜色等属性,能获得焦点、可被操作、可响应事件等。例如:在swing组件中, 类用来实现不可编辑信息, 类用来实现命令按钮, 类用来实现单行文本框, 类用来实现密码框, 用来实现多行文本框, 类用来实现表格。

答案查题题库