/**
  * Sets a custom style for the given text area.
  *
  * @param textArea the text area to style
  */
 private void setTextAreaStyle(JTextArea textArea) {
   textArea.setOpaque(false);
   textArea.setLineWrap(true);
   textArea.setWrapStyleWord(true);
 }