Completed but restarting jfilechooser fails