display all harddisk files in a jtable ?

M

Marco Schmidt

dsri:
how display all harddisk files in a jtable ?

What's the problem - finding all files of a directory tree
(java.io.File.list, in combination with isDirectory and isFile), or
displaying them in a JTable (see Sun's tutorial in the API docs)?

Regards,
Marco
 
D

dsri

the problem is :

ok to display all files(tree of a disk) in a jtable but it's very long (i've
got a lot of directory and files ...)
with File

is there another way to do that ?
 
M

Marco Schmidt

dsri:
ok to display all files(tree of a disk) in a jtable but it's very long (i've
got a lot of directory and files ...)
with File

is there another way to do that ?

Not sure what the problem is - if you want to display all files and if
there are so many, so be it.

You could horizontally split the main frame and show a Windows file
explorer type of tree on the left and only the content of the
currently selected directory on the right in a JTable.

Regards,
Marco
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top