A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
creating a Browse folder dialog box using applet
Joined: Oct 15, 2006
Nov 08, 2006 02:05:00
How can I create a Browse folder dialog box using
? I want to get the System Drives available and display it with the child folder.
Joined: Mar 22, 2005
Nov 08, 2006 02:31:00
You mean like a file open/save dialog? Have a look at the java.awt.FileDialog and javax.swing.JFileChooser classes. FileDialog looks more like a native dialog, but JFileChooser is more customizable.
Ping & DNS
- my free Android networking tools app
Joined: Oct 18, 2000
Nov 08, 2006 06:42:00
Doing anything with files in an applet is going to require making the applet "trusted" and setting appropriate security properties... check out the Applet forum for more details.
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I agree. Here's the link:
subject: creating a Browse folder dialog box using applet
browse button should display only file types All Files (*.*)
Struts unable to change file types appearing in dialog box
How applet can be used to browse for all files in a folder without refresing the page?
enter a value
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014