This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Journey To Enterprise Agility and have Daryl Kulak & Hong Li on-line!
See this thread for details.
Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

JTable  RSS feed

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to Java Programming. I am creating a JTable for the FileSystem and needs only the folders (directories) to show but no files. How can i implement that while loading the nodes. Many thanks in advance...
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
whether u are talking about jtable or jtree.first confirm that?

Originally posted by basic java:
I am new to Java Programming. I am creating a JTable for the FileSystem and needs only the folders (directories) to show but no files. How can i implement that while loading the nodes. Many thanks in advance...


 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am using JTree. Sorry for the confusion.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out this tutorial. You may be trying to implement a Tree Table, not just a Tree or just a Table.
[This message has been edited by Bodie Minster (edited May 08, 2001).]
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks alot this is close to what i was looking for.
I have another question. Is there a method like JFileChooser to BringUp FileBrowseDlg in Windows. This window will allows the user to Browse thu the folders to a specific folder where files might be located.
One way i could think of is calling comdlg32.dll by some code in Java to bringup that window.
Any suggestions ....
Shaibi
 
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
basic java and devara
Please change your name to be compliant with JavaRanch's naming policy.
Your ID should be 2 separate names with more than 1 letter each. We really want this to be a professional forum and would prefer that you use your REAL name.
basic java you need a real sounding name.
devara you need to have a first and a last name with more than 1 char each.
Thanks,
Cindy
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!