The Artima Developer Community
Sponsored Link

Java Answers Forum
harddisk selector

1 reply on 1 page. Most recent reply: Jan 13, 2003 4:09 PM by Matt Gerrans

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
risto

Posts: 1
Nickname: narf
Registered: Jan, 2003

harddisk selector Posted: Jan 13, 2003 1:01 PM
Reply to this message Reply
Advertisement
I'm trying to write a little program where i have a listbox and a tree. Now that aint really the problem, but i want to be able to select a harddisk form my listbox and then make the tree of the disk.
But the problem is that i don't know how i can get my harddisks in that listbox

Can anyone help me?


Tia
Narf


Matt Gerrans

Posts: 1153
Nickname: matt
Registered: Feb, 2002

Re: harddisk selector Posted: Jan 13, 2003 4:09 PM
Reply to this message Reply
Well, you didn't say what platform you are talking about, but it sounds like you are talking about Windows. If that is the case, then you can write a little JNI that calls GetLogicalDrives() or GetLogicalDriveStrings().

Flat View: This topic has 1 reply on 1 page
Topic: JNI help Previous Topic   Next Topic Topic: RMI

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use