Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Display Files without extension in a JTree  RSS feed

 
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!