Meaningless Drivel is fun!
The moose likes Swing / AWT / SWT and the fly likes TreePath from path? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "TreePath from path?" Watch "TreePath from path?" New topic
Author

TreePath from path?

Max Power
Ranch Hand

Joined: May 10, 2004
Posts: 47
hi, how can i get a valid treepath (jtree) out of a path like this:

c:\programs\test1\test2\....

thanks a lot
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24189
    
  34

Moving to the Swing/AWT Forum...


[Jess in Action][AskingGoodQuestions]
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
 
jQuery in Action, 2nd edition
 
subject: TreePath from path?