• Post Reply Bookmark Topic Watch Topic
  • New Topic

Partition List  RSS feed

 
Udaya Wijenayake
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can i get available partitions and disk drives into a drop down list just like following image?


 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out JList
Also check out the File API for method(s) which give you all the drives on your system.
 
Udaya Wijenayake
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Maneesh. I did it using following code.
 
Udaya Wijenayake
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Maneesh. I did it using following code.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!