fix for jdk 1.6 file chooser issues; fixes #11