After creating a file chooser, show it by invoking one of JFileChooser ‘s show -prefixed methods, such as the aforementioned showOpenDialog() and showSaveDialog(). Listing 1 presents a small ...