单选题
下列不属于Swing的构件是______。
A、
JButton
B、
JLabel
C、
JFrame
D、
JPane
【正确答案】
D
【答案解析】
[解析] Swing构件中JButton是按钮构件,JLabel为标签构件,JFrame为顶层窗体容器构件。中间容器面板应为JPanel,而不是JPane。
提交答案
关闭