题目内容

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

查看答案
更多问题

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

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

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

JList(Vector listData)的功能是使用listData向量数组构造一个JList对象。()

答案查题题库