This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTree and Filesystem?

 
Max Power
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello, i have this little example of a jtree displaying a directory from the harddrive. the problem is, that it always shows full paths.

c:\programs
|
|
|------c:\programs\subdir

instead of

c:\programs
|
|
|------subdir

how can i fix that? you can compile the code and just give a valid path for the parameter....

any ideas? THANKS




 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic