aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes creating a Browse folder dialog box using applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "creating a Browse folder dialog box using applet" Watch "creating a Browse folder dialog box using applet" New topic
Author

creating a Browse folder dialog box using applet

lynn fann
Ranch Hand

Joined: Oct 15, 2006
Posts: 115
How can I create a Browse folder dialog box using applet? I want to get the System Drives available and display it with the child folder.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41906
    
  63
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
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

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.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: creating a Browse folder dialog box using applet