• Post Reply Bookmark Topic Watch Topic
  • New Topic

API for displaying directory structure?

 
Geoffrey Lo
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I was just wondering if there was an api that i could use to display a directory structure.
e.g.
=========================
|| root |
|| -subdir1 |
|| --subdir1_1 |
|| --subdir1_2 |
|| -subdir2 |
|| --subdir2_1 |
|| |
|| |
===========================

Thanks.
 
Manish Hatwalne
Ranch Hand
Posts: 2596
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look at JTree, or may beyou can consider customizing JFileChooser dialog to suit your requirements.
HTH,
- Manish
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!