• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

Computer Explorer(Swing Components-JTree and JFileChooser)

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi..i was refered by a teacher of mine to this site..hope i can learn many things..=)
i'm currently working on a project right now that aims to display the files and folders in a computer, one that works like a computer explorer/my computer for windows users. i would like to use the JTree component in Swing to be able to display the file and folders of a copmputer so that it can be collaped or expanded and its path be traced.
i thought first of using the JFileChooser for this function. But since the JFileChooser is a dialog box, i would like to "put a JFileChooser" in a JTree to be able to dynamically browse through a computer's contents and display it as a tree.is that possible?
is there a class in java, besides JFileChooser, that can support this function?the one that can dynamically browse through a computer's contents?and one that can be displayed in a JTree/parent-child(folder-files)manner?
we are limited to use swing components only..
hope someone can enlighten me with this..tnx..=)
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is a duplicate post.
Please continue in the Swing / JFC / AWT forum...
 
reply
    Bookmark Topic Watch Topic
  • New Topic