问题
单项选择题
下列不属于Swing的构件是( )。
A.JButton
B.JLabel
C.JFrame
D.JPane
答案
参考答案:D
解析: Swlng构件中JButton是按钮构件,JLabel为标签构件,IFrame为顶层窗体容器构件。中间容器面板应为 JPanel,而不是JPane。
下列不属于Swing的构件是( )。
A.JButton
B.JLabel
C.JFrame
D.JPane
参考答案:D
解析: Swlng构件中JButton是按钮构件,JLabel为标签构件,IFrame为顶层窗体容器构件。中间容器面板应为 JPanel,而不是JPane。