public void run()
int response; String strButton = bluej.getExtensionPropertyString(FindBugsPreferences.PROFILE_LABEL,"");  if(strButton.equals(FindBugsPreferences.radioCommand[0])) response = JOptionPane.YES_OPTION; else if(strButton.equals(FindBugsPreferences.radioCommand[1])) response = JOptionPane.NO_OPTION; else{  StringBuffer msg = new StringBuffer(); msg.append("The following class" + (notCompiled.size() == 1 ? " is " : "es are ") + "not compiled:\n\n"); for (BClass bc : notCompiled) msg.append(bc.getName() + "\n"); msg.append("\nCompile before running FindBugs?"); response = JOptionPane.showConfirmDialog(null, msg); }  switch (response)
			public void actionPerformed(ActionEvent evt)			{								new Thread(new Runnable()				{					public void run()					{						try						{							final SortedBugCollection bugs = RunFindbugs.getBugs(allClassFileNames(pckg.getProject()));							SwingUtilities.invokeLater(new Runnable()							{								public void run()								{									try									{										ResultsFrame.getInstance().update(bugs, pckg.getProject());									}									catch (Exception e)									{										Log.recordBug(e);									}								}							});						}						catch (Exception e)						{							Log.recordBug(e);						}					}				}).start();			}