use JFileChooser for mac, now that awt.FileDialog is broken in java 7