MCPcopy Index your code
hub / github.com/beanshell/beanshell / main

Method main

src/bsh/util/AWTConsole.java:313–327  ·  view source on GitHub ↗
( String args[] )

Source from the content-addressed store, hash-verified

311 }
312
313 public static void main( String args[] ) {
314 AWTConsole console = new AWTConsole();
315 final Frame f = new Frame("Bsh Console");
316 f.add(console, "Center");
317 f.pack();
318 f.setVisible(true);
319 f.addWindowListener( new WindowAdapter() {
320 public void windowClosing( WindowEvent e ) {
321 f.dispose();
322 }
323 } );
324
325 Interpreter interpreter = new Interpreter( console );
326 interpreter.run();
327 }
328
329 public String toString() {
330 return "BeanShell AWTConsole";

Callers

nothing calls this directly

Calls 2

runMethod · 0.95
addMethod · 0.45

Tested by

no test coverage detected