BugTreeModel.pleaseWait("Loading bugs over network...");
BugTreeModel.pleaseWait(edu.umd.cs.findbugs.L10N.getLocalString("msg.loading_bugs_over_network_txt", "Loading bugs over network..."));
		public void run()		{			setTitle("FindBugs: " + Project.UNNAMED_PROJECT);						guiLayout.initialize();			bugPopupMenu = createBugPopupMenu();			branchPopupMenu = createBranchPopUpMenu();			comments.loadPrevCommentsList(GUISaveState.getInstance().getPreviousComments().toArray(new String[GUISaveState.getInstance().getPreviousComments().size()]));			updateStatusBar();			setBounds(GUISaveState.getInstance().getFrameBounds()); 			Toolkit.getDefaultToolkit().setDynamicLayout(true);			setDefaultCloseOperation(DO_NOTHING_ON_CLOSE);			setJMenuBar(createMainMenuBar());			setVisible(true);									if (MAC_OS_X)			{				 try {					Class osxAdapter = Class.forName("edu.umd.cs.findbugs.gui2.OSXAdapter");					Method registerMethod = osxAdapter.getDeclaredMethod("registerMacOSXApplication", MainFrame.class);					if (registerMethod != null) {						registerMethod.invoke(osxAdapter, MainFrame.this);					}				} catch (NoClassDefFoundError e) {					// This will be thrown first if the OSXAdapter is loaded on a system without the EAWT					// because OSXAdapter extends ApplicationAdapter in its def					System.err.println("This version of Mac OS X does not support the Apple EAWT. Application Menu handling has been disabled (" + e + ")");				} catch (ClassNotFoundException e) {					// This shouldn't be reached; if there's a problem with the OSXAdapter we should get the					// above NoClassDefFoundError first.					System.err.println("This version of Mac OS X does not support the Apple EAWT. Application Menu handling has been disabled (" + e + ")");				} catch (Exception e) {					System.err.println("Exception while loading the OSXAdapter: " + e);					e.printStackTrace();					if (DEBUG) {						e.printStackTrace();					}				}			}			String loadFromURL = SystemProperties.getProperty("findbugs.loadBugsFromURL");						if (loadFromURL != null) {				InputStream in;				try {					in = new URL(loadFromURL).openConnection().getInputStream();					if (loadFromURL.endsWith(".gz"))						in = new GZIPInputStream(in);					BugTreeModel.pleaseWait("Loading bugs over network...");					loadAnalysisFromInputStream(in);				} catch (MalformedURLException e1) {					// TODO Auto-generated catch block					e1.printStackTrace();					JOptionPane.showMessageDialog(MainFrame.this, "Error loading "  +e1.getMessage());				} catch (IOException e1) {					// TODO Auto-generated catch block					e1.printStackTrace();					JOptionPane.showMessageDialog(MainFrame.this, "Error loading "  +e1.getMessage());				}			}					addComponentListener(new ComponentAdapter(){				public void componentResized(ComponentEvent e){					comments.resized();				}			});						addWindowListener(new WindowAdapter(){				public void windowClosing(WindowEvent e) {					if(comments.hasFocus())						setProjectChanged(true);					callOnClose();				}							});			Driver.removeSplashScreen();		}