A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
How to access drive
Joined: Dec 07, 2001
Feb 11, 2002 17:42:00
I want to provide a browse button by clicking on it will go to the drive letter. What i mean when it click the button say "Browse" this will show a box which will have all drives letter of that computer.
Can you help me in this regard?
Joined: Jul 11, 2001
Feb 12, 2002 08:34:00
Take a look at the
Joined: Jan 15, 2002
Feb 12, 2002 12:59:00
listRoots will list all the drives, including network drives
File  roots = File.listRoots(); for(int i = 0; i < roots.length; i++) System.out.println(roots[i]);
How you want to display in your GUI is up to you then.
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: How to access drive
JFileChooser and network drives
applying CSS to input type="file"
Browse Button Value
Uploading from a web page
how to browse only folder
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013