JContextLoggerPanel p = new JContextLoggerPanel( d );
    public JContextLoggerPanel executeScenario() {        //JDialog dlg = new JDialog();                runtime.DomainContext d = new DomainContext();        ConsoleLogger c = new ConsoleLogger(d);        runtime.Interpreter i = new Interpreter(null);                JContextLoggerPanel p = new JContextLoggerPanel( d );                //dlg.getContentPane().setLayout( new BorderLayout() );        //dlg.getContentPane().add( p, BorderLayout.CENTER );        //dlg.setVisible( true );                try{            i.interpret(scenario,  d);        } catch(LemRuntimeException e) {            System.out.println(e);        }        return p ;     }