Article View: borland.public.jbuilder.java.swing
Article #9419Re: Will JFileChooser work in a JApplet?
From: John P. McGrath
Date: Wed, 15 Mar 2000 00:00
Date: Wed, 15 Mar 2000 00:00
21 lines
1313 bytes
1313 bytes
On Wed, 8 Mar 2000 10:48:56 -0500, Jeff Marendo wrote: > I'd like to try and make an applet that allows a user to > select .gif files off of the machine that the applet is > downloaded from. I want to use a JFileChooser to do this, > but I don't know if it is possible. Can anyone give me > any suggestions? You should be able to do this by creating subclass of FileSystemView and FileView. You may also need to subclass File. These classes would have to communicate with objects running on the server that knew about the actual files and file system. I am sure that this would not be a simple task, but it is possible, since JFileChooser does not do any actual file system access itself. Instead, it uses FileSystemView and FileView to access it. -- John P. McGrath <JPMcGrath@fast.net> <jpm@nscs.fast.net>
Technical Details
Message-ID:
<MPG.13390e7076f731779897f1@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<8a5rtq$70g2@bornews.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,1dd4651986f90e04 X-Google-Attributes: gid111d45,public From: John P. McGrath <JPMcGrath@fast.net> Subject: Re: Will JFileChooser work in a JApplet? Date: 2000/03/15 Message-ID: <MPG.13390e7076f731779897f1@forums.borland.com> X-Deja-AN: 597740527 References: <8a5rtq$70g2@bornews.borland.com> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.swing