• Post Reply Bookmark Topic Watch Topic
  • New Topic

Display Files without extension in a JTree

 
Manjula Rao
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
could any one help me with inflating a JTree component with all the files of a particular directory. i have been able to show the fle names in the JTree but i need to show only the file name NOT the extension.
thanx
Manjula
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Research the tutorial How to Use Trees I also think you may get more help in AWT/JFC/Swing forum so, I'm moving this there
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!