m_Input.setFont(new Font("Monospaced", Font.PLAIN, 12));
  public SimpleCLIPanel() throws Exception {        setLayout(new BorderLayout());    add(m_OutputArea, "Center");    add(m_Input, "South");    m_Input.addActionListener(this);    m_Input.addKeyListener(new KeyAdapter() {      public void keyPressed(KeyEvent e) {	doHistory(e);      }    });    m_OutputArea.setEditable(false);    m_OutputArea.setFont(new Font("Monospaced", Font.PLAIN, 12));    // Redirect System.out to the text area    //    System.out.println("Redirecting System.out");    PipedInputStream pio = new PipedInputStream(m_POO);    System.setOut(new PrintStream(m_POO));    Reader r = new InputStreamReader(pio);    m_OutRedirector = new ReaderToTextArea(r, m_OutputArea);    m_OutRedirector.start();    // Redirect System.err to the text area    //    System.err.println("Redirecting System.err");    PipedInputStream pie = new PipedInputStream(m_POE);    System.setErr(new PrintStream(m_POE));    r = new InputStreamReader(pie);    m_ErrRedirector = new ReaderToTextArea(r, m_OutputArea);    m_ErrRedirector.start();    System.out.println("\nWelcome to the WEKA SimpleCLI\n\n"                       +"Enter commands in the textfield at the bottom of \n"                       +"the window. Use the up and down arrows to move \n"                       +"through previous commands.\n\n");    runCommand("help");  }