updated: now using JTextArea instead of JTextField