if (frame.settingList.equals(FindBugs.MIN_EFFORT)) frame.minEffortItem.setSelected(true); else if (frame.settingList.equals(FindBugs.MAX_EFFORT)) frame.maxEffortItem.setSelected(true);
	public static void main(String args[]) throws IOException {		Project project = null;				SwingCommandLine commandLine = new SwingCommandLine();		try {			commandLine.parse(args);		} catch (IllegalArgumentException e) {			System.err.println("Error: " + e.getMessage());			showSynopsis();			ShowHelp.showGeneralOptions();			showCommandLineOptions();			System.exit(1);		}				if (commandLine.getProject().getFileCount() > 0) {			project = commandLine.getProject();		}				//	  Uncomment one of these to test I18N		//		Locale.setDefault( Locale.FRENCH );		//		Locale.setDefault( Locale.GERMAN );		//		Locale.setDefault( Locale.JAPANESE );		//		Locale.setDefault( new Locale( "et" ));		//		Locale.setDefault( new Locale( "fi" ));		//		Locale.setDefault( new Locale( "es" ));		//		Locale.setDefault( new Locale( "pl" ));				// Load plugins!		DetectorFactoryCollection.instance();				FindBugsFrame frame = new FindBugsFrame();				if (project != null) {			frame.setProject(project);		} else if (commandLine.getBugsFilename().length() > 0) {			try {				File bugsFile = new File(commandLine.getBugsFilename());				frame.loadBugsFromFile(bugsFile);			} catch (Exception e) {				System.err.println("Error: " + e.getMessage());			}		}				if (commandLine.getSettingList() != null) {			frame.settingList = commandLine.getSettingList();		}				frame.setSize(800, 600);		frame.setLocationRelativeTo(null); // center the frame		frame.setVisible(true);	}