使用setSelected设置或者是使用setIndex()
解决方案 »
- 请教path变量的工作原理
- 求助:在tomcat5中配虚拟目录
- 一个选中文本的问题,不解!
- 请问大家,关于写java bean的习惯问题
- 关于PrepareStatment 中插入DATE的问题
- 请教一个问题?为什么在MyEclipse里不能运行?
- 关于Jcreator的问题?
- 类似于这种网站是怎么做出来的,有没有源程序下载。能不能告诉我,谢谢!!!
- 数据结构中的完全二叉树和满二叉树的概念如何区别?
- 请问怎样才能使TextField()中的字符一开始就被设置为选中状态?
- Jbuilder中如何调整应用程序窗体大小?(在线)
- 请教一个很菜的问题:为什么局部变量在内嵌类中被访问;必须被声明为 final??
Scrolls the viewport to make the specified cell completely visible. Note, for this method to work, the JList must be displayed within a JViewport.Parameters:index - the index of the cell to make visible