开发者

How to build a mix of JTree and JTable?

I would like to have a JTree which also displays some extra information right adjusted, just like there was an extra column, see picture be开发者_StackOverflowlow. Any hints for accomplishing something like this or similar are welcome!

alt text http://img3.imageshack.us/img3/3671/exampleif.jpg


There are some articles at Sun about producing TreeTables in Java.

I remember developing a TreeTable using the sample code as a great starting point, but these articles are 10 years old now so you may want to approach with a little caution.

If you'd like something newer there is the NetBeans Outline Component.


You can achieve this kind of thing by using and configuring the JTreeTable from SwingX project.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜