JCheckBoxMenuItem result = new JCheckBoxMenuItem(new CheckBoxMenuAction(pckg.getProject())); result.setText("CheckBox Something");
JCheckBoxMenuItem result = new JCheckBoxMenuItem("Run FindBugs on Compile"); result.addActionListener(new CheckBoxMenuAction(pckg.getProject(), result));
	public JMenuItem getToolsMenuItem(BPackage pckg)	{		//JCheckBoxMenuItem result = new JCheckBoxMenuItem("CheckBox Something");		try		{			JCheckBoxMenuItem result = new JCheckBoxMenuItem(new CheckBoxMenuAction(pckg.getProject()));			result.setText("CheckBox Something");			return result;		}		catch (ProjectNotOpenException e)		{			Log.recordBug(e);			return null;		}	}