This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance 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
Posts: 42968
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