public DefaultConsolePanel(){
  setLayout(new BorderLayout(0,0));
  textPane=new JTextArea();
  textPane.setRows(5);
  textPane.setEditable(false);
  JScrollPane jp=new JScrollPane(textPane);
  add(jp,BorderLayout.CENTER);
}

public DefaultConsolePanel ( ) { setLayout ( new BorderLayout ( 0 , 0 ) ) ; textPane = new JTextArea ( ) ; textPane . setRows ( 5 ) ; textPane . setEditable ( false ) ; JScrollPane jp = new JScrollPane ( textPane ) ; add ( jp , BorderLayout . CENTER ) ; }
instantiates a new console panel .
