列表框成员方法setVisibleRowCount(5)的功能是设置列表框____为5。
查看答案
setBorder(BorderFactory.createTitledBorder(String title));要设置列表框的提示信息“您最喜欢到哪个国家玩呢?”,用成员方法setBorder(BorderFactory.____)。
int getSelectedIndex的功能是获取所选项的____。
JList(Object[] listData)的功能是使用listData数组构造一个JList对象。()