[gameprogrammer] Re: java thing

One way you could do this is to have a seperate thread that periodically calls File.listRoots(), and then compares the list of drives with the original list, and updates the combo box accordingly.

Steve



Luis Detlefsen wrote:
Hey, i want to display all the drives of the cpu in a combo box. If i add a new drive (i.e. an usb memory) it must uptade the list of the combo box automatically. I've been searching on the internet but haven't found anything. Can someone help me??? btw it must be coded in java.



---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: