GUI fix for test and JTextArea