由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - Can't believe DefaultListModel didn't implement
相关主题
SUN should die, go, MS!jvm是怎么implement monitor的?
哭! 我冤死了interface和implementation class
怎么报名SCJP认证考试?developer, programmer, software engieer有什么区别
空的JList什么也不显示,一定要加了数据再改变大小时才会出来Stack Frame of your JVM implementation
请教一个 JList + JScrollPane 的问题The shape of JVM stack frame
can applet implements runnable?How does a client find and connect to a specific
问一个特别土的问题Re: Can create a Interface object, why?
Timer and TimerTaskRe: print problem, GUI guru please come in
相关话题的讨论汇总
话题: implement话题: believe话题: didn话题: list
进入Java版参与讨论
1 (共1页)
g*****g
发帖数: 34805
1
List interface in Collection, Suns programmers suck big time.
Have to manually sort a JList.
z****g
发帖数: 2497
2
You should say the Swing team sucks.

【在 g*****g 的大作中提到】
: List interface in Collection, Suns programmers suck big time.
: Have to manually sort a JList.

L*********r
发帖数: 92
3
是有点不方便. 不过, 实现起来也不麻烦.
Sun的例子:
http://java.sun.com/developer/technicalArticles/J2SE/Desktop/sorted_jlist/index.html
g*****g
发帖数: 34805
4
太麻烦,我的list数据量也不大,直接extends DefaultListModel,加个
sort方法,把所有数据导出到Vector, Collections sort一下,再放回去
结束。如果要优化的话也就是用一下插入排序。

【在 L*********r 的大作中提到】
: 是有点不方便. 不过, 实现起来也不麻烦.
: Sun的例子:
: http://java.sun.com/developer/technicalArticles/J2SE/Desktop/sorted_jlist/index.html

1 (共1页)
进入Java版参与讨论
相关主题
Re: print problem, GUI guru please come in请教一个 JList + JScrollPane 的问题
Re: JPanel help!can applet implements runnable?
Re: How to use abstract class?问一个特别土的问题
Is this a Bug or not?Timer and TimerTask
SUN should die, go, MS!jvm是怎么implement monitor的?
哭! 我冤死了interface和implementation class
怎么报名SCJP认证考试?developer, programmer, software engieer有什么区别
空的JList什么也不显示,一定要加了数据再改变大小时才会出来Stack Frame of your JVM implementation
相关话题的讨论汇总
话题: implement话题: believe话题: didn话题: list