Switch to SwingApplication.
Add file chooser to select image.