Mathematica 9 is now available

Wolfram Library Archive


All Collections Articles Books Conference Proceedings
Courseware Demos MathSource Technical Notes
Title Downloads

Creating a File Chooser Dialog Box
Author

Wolfram Research, Inc.
Organization: Wolfram Research, Inc.
Address: 100 Trade Center Dr.
Champaign, IL 61820
Phone: (217) 398-0700
Fax: (217) 398-0747
Email: infocenter@wolfram.com
URL: http://www.wolfram.com
Description

A useful feature for Mathematica programs is the ability to produce a file chooser dialog box, such as the typical Open or Save dialog boxes. You could use such a dialog box to prompt a user for an input file or a file into which to write data. This is easily accomplished across platforms with Java, specifically with the JFileChooser class in the standard Swing library.
Subjects

*Mathematica Technology > Front End > Palettes and Dialog Boxes
*Mathematica Technology > Linking Technology > J/Link
URL

http://library.wolfram.com/examples/FileChooserDialog/
Downloads Download Wolfram CDF Player

Download
FileChooserDialog.nb (45.1 KB) - Mathematica Notebook