Wolfram Library Archive

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

Creating a File Chooser Dialog Box

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

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.

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

Downloads Download Wolfram CDF Player

FileChooserDialog.nb (45.1 KB) - Mathematica Notebook