题目内容

列表框成员方法setVisibleRowCount(5)的功能是设置列表框____为5。

查看答案
更多问题

setBorder(BorderFactory.createTitledBorder(String title));要设置列表框的提示信息“您最喜欢到哪个国家玩呢?”,用成员方法setBorder(BorderFactory.____)。

构造一个空的JList对象用构造方法____。

int getSelectedIndex的功能是获取所选项的____。

JList(Object[] listData)的功能是使用listData数组构造一个JList对象。()

答案查题题库