This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to list the cd drives.. please please help  RSS feed

 
Sandy Elizabeth
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there...
Is there any method in java to list only the cd drives connected to the system..
my objective is to populate a combo box with the drive letters of the cd drives,writers etc..
i tried with File.listRoots() which displays all the drives in the system...
thanks in advance..
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!