This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Similar to windows MyComputer(urgent) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Similar to windows MyComputer(urgent)" Watch "Similar to windows MyComputer(urgent)" New topic

Similar to windows MyComputer(urgent)

netharam ram
Ranch Hand

Joined: Aug 09, 2001
Posts: 202
How to get the list of drives in a machine.I want to display the list of drives [with drive label & size ] and then the list of files & directories [with size & no. of files] by double-clicking the drive.I wish to display them in a frame or window, similar to the windows My Computer.I want to display the file_size, date_created,last_modified_date,permissions such as read_only, hidden etc., by right_clicking & viewing the properties. Please send me some code.Reply as soon as possible.[urgent]
Anthony Alberts

Joined: Sep 18, 2001
Posts: 7
Hi netharam
One of the better examples of what you are trying to do is in the book entitled Swing. There is an online copy of the book befor it went to print. This can be down-loaded with runnable code examples. What you are looking for is in chapter 17 and the example being 'FileTree1'. I hope this helps. I see that you posted your question a while ago and you might have sorted tha problem already. The book is worth checking out anyway.
Have you checked out Aspose?
subject: Similar to windows MyComputer(urgent)
jQuery in Action, 3rd edition