getAllClassesAndRun();
			public void actionPerformed(ActionEvent evt)			{								new Thread(new Runnable() {					public void run()					{						// First see if all classes are compiled						ArrayList<BClass> notCompiled = new ArrayList<BClass>();						try						{							for (BPackage bp : bluej.getCurrentPackage().getProject().getPackages())								for (BClass bc : bp.getClasses())									if (!bc.isCompiled())										notCompiled.add(bc);														if (notCompiled.size() > 0)							{								// At least one class in the project is not compiled.								int response;								String strButton = bluej.getExtensionPropertyString(FindBugsPreferences.PROFILE_LABEL,"");																		/*								 * Checks the preference of BlueJ to see if user wants to compile classes								 * that are not compiled already when FindBugs runs, don't compile them, 								 * or pop a dialogue box.								 * 								 * Warning! The numbers are hardcoded in here. If FindBugsPreferences's radioButtons								 * are changed need to check for correctness here.								 */								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)								{								case JOptionPane.YES_OPTION:									for (BPackage bp : bluej.getCurrentPackage().getProject().getPackages())										bp.compile(true);									break;								case JOptionPane.NO_OPTION:									// Don't do anything - get out of the switch and just run									break;								case JOptionPane.CANCEL_OPTION:									return;								}							}							getAllClassesAndRun();						}						catch (Exception e)						{							Log.recordBug(e);						}					}				}).start();			}