Object returnValue = eval(view,command); if(returnValue != null) { String[] args = { returnValue.toString() }; GUIUtilities.message(view,"beanshell-eval",args); }
EditPane editPane = view.getEditPane(); interp.setVariable("view",view); interp.setVariable("editPane",editPane); interp.setVariable("buffer",editPane.getBuffer()); interp.setVariable("textArea",editPane.getTextArea());
	public static void eval(View view)	{		String command = GUIUtilities.input(view,"beanshell-eval-input",null);		if(command != null)		{			Object returnValue = eval(view,command);			if(returnValue != null)			{				String[] args = { returnValue.toString() };				GUIUtilities.message(view,"beanshell-eval",args);			}		}	}