{
if(AopHandler.instance().getCompile().getWorkingdir() == null)
AopHelperMediator.instance().getMainPane().displayMessageDialog("Must set working directory");
else
{
AopCompileCommand compile = new AopCompileCommand();
String[] out = compile.execute();
mediator.getOutputPane().setText(out[0]);
mediator.getOutputPane().setError(out[1]);
System.out.println("output: "+out[0]);
}
}