Login  Register

Change file dialog to use native dialog

Posted by dkovari on Feb 06, 2015; 3:00pm
URL: http://imagej.273.s1.nabble.com/Change-file-dialog-to-use-native-dialog-tp5011484.html

Is there a reason why we can't change ImageJ to use the native file opening
systems?
The current file dialog is outdated and terribly hard to use when compared
to both the native OSX and Windows 7 dialogs.


Java now has standard implementations which used the native dialogs:
http://docs.oracle.com/javafx/2/ui_controls/file-chooser.htm


alternatively the SWT package provides similar native support
http://stackoverflow.com/questions/5703825/does-swing-support-windows-7-style-file-choosers

finally there is a windows only wrapper available:
https://code.google.com/p/xfiledialog/

I haven't looked at the code yet, but based on skimming through the api
index it looks like we could simply make the change in the ij.io package.

Thanks,
Dan

--
Daniel Kovari
Ph.D. Candidate - Georgia Institute of Technology, School of Physics
Phone: 404-385-3242
email: [hidden email]

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html