if (useGui1) edu.umd.cs.findbugs.gui.FindBugsFrame.main(args); else edu.umd.cs.findbugs.gui2.Driver.main(args);
if (launchClass == null) launchClass = edu.umd.cs.findbugs.gui.FindBugsFrame.class;  Method mainMethod = launchClass.getMethod("main", args.getClass()); mainMethod.invoke(null, (Object) args);
	public static void main(String args[]) throws Exception {		if (GraphicsEnvironment.isHeadless())			FindBugs2.main(args);		else {			boolean useGui1 = false;			String version = System.getProperty("java.version");			if ("1.5".compareTo(version) > 0)				useGui1 = true;			try {				Class.forName("edu.umd.cs.findbugs.gui2.MainFrame", false,						LaunchAppropriateUI.class.getClassLoader());			} catch (ClassNotFoundException e) {				useGui1 = true;			}			if (useGui1)				edu.umd.cs.findbugs.gui.FindBugsFrame.main(args);			else				edu.umd.cs.findbugs.gui2.Driver.main(args);		}	}