I'm looking for a way to use the functionality of JFileChooser to show a directory on a web server through an applet. I want to allow the user to select a data file from a choice of data files on the web server. Eventually I want to enable the user to set-up their own directory structure for multiple data and configuration files. JFileChooser seems to choke on references to file systems from a applet, even when the directory is a URL/directory. By choke I mean that I get java.security.AccessControlExceptions whenever I try to invoke a JFileChooser method (such as setFileFilter) that has been set to a URL directory. I did something similar for HTML pages by using a JList and passing it a vector of pages available for viewing (the vector was built using a servlet), but I would prefer to use the GUI richness of the JFileChooser. Any thoughts?
Post by:s srikanth
u can't use JFileChooser with an applet. srikanth
Amateurs built google. Professionals built the titanic. We can't find the guy that built this tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database