|
Version: 1.0 Posted: 2003-04-30 Build Requirements: N/A Runtime Requirements: Mac OS X Mac OS X 10.2 or later, Java 1.4.1 or later Download Sample (FunWithFileDialogs.zip, 35.3K) |
||||
DescriptionThis sample demonstrates the behavior of the AWT FileChooser and Swing Aqua JFileChooser dialogs in Mac OS X, and the available runtime options to handle Mac-specific conditions in each class. They are: JFileChooser.packageIsTraversable (JFileChooser) JFileChooser.appBundleIsTraversable (JFileChooser) apple.awt.use-file-dialog-packages (FileDialog) This sample is for developers looking to handle Mac OS X-specific conditions in their AWT/Swing applications. Keep in mind that the FileDialog can still be used in Swing applications safely (and is recommended because it employs the native "Column" view), and that the runtime properties in question can be set on the fly as long as it's done before the relevant dialog instance is shown. They are neither permanent nor global. Requirements: Mac OS X 10.2 or later, Java 1.4.1 or later Keywords: filedialog java jfilechooser Document Revision History
|
|