Joe's Java and Web Jottings

your host


Your Host

Calendar

««Nov 2009»»
SMTWTFS
1234567
891011121314
15161718192021
22232425262728
2930

My Top Tags

               

Java Libs and Tools

My Other Pages

My RSS Feeds








What do you want YOUR JTree to do?

posted Wednesday, 3 September 2003
While I've got some free time, I figure I can write up a few Swing articles and shop them around to some of the Java mags and see if anybody's interested. The first would be on some more advanced uses of the JTree. In particular, I've got JTree models and code that support eaiser icon selection, sorting, "flattening" (quickly toggling between a tree and a list view without leaving the tree), drag and drop (including insertions and re-ordering elements), and the ability to show a tree inside a JList/JComboBox (by displaying a TreeModel as a ListModel with an alternate renderer). Each would have some emphasis on known design patterns.

Are there any particular features or capabilities you would like to see added to the JTree? I'm open to suggestions.




1. Basanth left...
Monday, 22 September 2003 12:16 am

How do I see this source code? Looks cool.
But I have one requ.
I am building a utility where in I am importing files from one file server to other, for this I am using Jtree to display the source contents and then I need to filter on this JTree, like only *.doc should be seen under folder "X", "*.bat" should be visible under "Y" onle and all folders starting with "A" should be allowed.
These filters should be applied dynamically on the tree and the resulting tree should be shown before user dropping the filtered source on to the destination.

Can you help me with this please.


2. a reader left...
Monday, 17 November 2003 12:39 pm

shmichael@usa.com

Mich [shmichael@usa.com]