*
* @return <code>true</code> if we should exit the application
*/
static boolean startupDialog() {
// Show the startup dialog and await return from it
StartupDialog sd = new StartupDialog();
// Get the file the user selected on the startup dialog, if any
String selectedFile = sd.getSelectedFile();
// If they clicked the close window button, we'll get back null, and we'll
// return true so the app exits.
if (selectedFile == null)
return true;