WebNFS Developer's Guide

The XFileChooser Bean

The XFileChooser (WebNFS) Bean API classes provide a high-level component in which users can easily incorporate into their design. The XFileChooser extends an existing Bean provided in JDK 1.2 (JFileChooser) to support access to remote files via the XFile API. Thus the actual code of the WebNFS bean will combine the functionality of the GUI component part of the JFileChooser and the XFile API. For more information, see the Chapter 5, XFileChooser and the javadocs for the XFileChooser which are included with this release.

Using the XFileChooser API

The XFileChooser API provides methods that allow users to get the XFile object of a selected file. It inherits most of the properties from the JFileChooser and thus methods that are public to JFileChooser are available for XFileChooser.