[kepler-dev] File->Open, Save, SaveAs and Export now use java.awt.FileDialog under Mac OS X

Christopher Brooks cxh at eecs.berkeley.edu
Sat Nov 5 17:39:01 PDT 2011


I just checked in a change that uses the native look and feel for file 
choosers in Kepler.
This makes it much easier to navigate as the java.awt.FileDialog reacts 
to alphanumeric keystrokes for browsing.

Also, the shortcuts are visible on the left.

The commit message was:
Under Mac OS X, use java.awt.FileDialog instead of 
javax.swing.JFileChooser.  This is because Apple applied the native look 
and feel work to FileDialog, not JFileChooser.  See ptolemy.gui.Top for 
similar work.  To switch between the two types of file browsers, set the 
ptolemy.ptII.useFileDialog property to true or false.

Send me mail if there are problems opening, exporting or saving files.

_Christopher

-- 
Christopher Brooks, PMP                       University of California
CHESS Executive Director                      US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust        Berkeley, CA 94720-1774
ph: 510.643.9841                                (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670



More information about the Kepler-dev mailing list