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.