This class has been deprecated and replaced by class com.ibm.as400.access.IFSSystemView.
The IFSFileSystemView provides a gateway to the iSeries™ integrated file system, for use when constructing javax.swing.JFileChooser objects.
JFileChooser is a standard Java™ way to build dialogs for navigating and choosing files, and is the recommended replacement for IFSFileDialog.
The following example demonstrates the use of IFSFileSystemView.
import com.ibm.as400.access.AS400; import com.ibm.as400.access.IFSJavaFile; import com.ibm.as400.vaccess.IFSFileSystemView; import javax.swing.JFileChooser; import java.awt.Frame; // Work with directory /Dir on the system myAS400. AS400 system = new AS400("myAS400"); IFSJavaFile dir = new IFSJavaFile(system, "/Dir"); JFileChooser chooser = new JFileChooser(dir, new IFSFileSystemView(system)); Frame parent = new Frame(); int returnVal = chooser.showOpenDialog(parent); if (returnVal == JFileChooser.APPROVE_OPTION) { IFSJavaFile chosenFile = (IFSJavaFile)(chooser.getSelectedFile()); System.out.println("You selected the file named " + chosenFile.getName()); }