aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Partition List Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Partition List" Watch "Partition List" New topic
Author

Partition List

Udaya Wijenayake
Ranch Hand

Joined: May 15, 2009
Posts: 30
How can i get available partitions and disk drives into a drop down list just like following image?



SCJP 1.5
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10523
    
    9

Check out JList
Also check out the File API for method(s) which give you all the drives on your system.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Udaya Wijenayake
Ranch Hand

Joined: May 15, 2009
Posts: 30
Thanks Maneesh. I did it using following code.
Udaya Wijenayake
Ranch Hand

Joined: May 15, 2009
Posts: 30
Thanks Maneesh. I did it using following code.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Partition List