Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

creating a Browse folder dialog box using applet

 
lynn fann
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic