Changed JTextArea to JTextPane