public static JTextArea getTextArea(String s) { JTextArea ret = new JTextArea(s); ret.setFont(new Font("Courier", Font.PLAIN, 12)); ret.setTabSize(4); return ret; }