The JTextArea does not support the append() method. You could try this if you just need to display the error:
catch ( MalformedURLException e) { textArea.setText(e.toString()); }
You could try this if you need to append the message:
catch ( MalformedURLException e) { textArea.setText(textArea.getText()+e.toString()); }