JComboBox peopleChoice = new JComboBox(c);创建了 。
查看答案
panel1.add(peopleChoice);实现了 功能。
JComboBox peopleChoice = new JComboBox(c);是生成一个空的下拉列表框控件。()
A. 对
B. 错
String c[]={"DO0","DO1","DO2","DO3","DO4","DO5","DO6","DO7"};定义了一个空数组。()
A. 对
B. 错
JComboBox中的getSelectedIndex()是获取指定索引列表项方法。()
A. 对
B. 错