基于Swing的可配置Table

是以前用来生成大量table时候写的.思路有点像thinlet和displaytag的结合

通过一个xml来定义table的各种行为,表头,celleditor,cellrenderer,数据源,更新间隔时间,是否支持排序…

缺点:
1.目前是直接定义jdbc数据源和一个sql(可以考虑注入一个数据源对象)
2.配置还是有点复杂,直接写xml还是有点麻烦
3.i18n问题没有解决

TODO:写一组spring的helper

Tags: ,

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>