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...
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...
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).]
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
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
"JavaRanch, where the deer and the Certified play" - David O'Meara
"Don't believe every tiny ad you see on the internet. But this one is rock solid." - George Washington