text: A JTextArea is a Component that allows multiple lines of plain text to
  be displayed and edited. Unlike the JTextField class, it allows a user
  to insert tab characters into the text with the tab key. In many cases
  however, the desired behavior is for the user to be able to tab away
  from a JTextArea without inserting a tab character. Unfortunately, the
  creators of JTextArea did not include a way to make a JTextArea object
  behave this way.
  One seemingly obvious solution is to write a KeyListener that monitors
  KeyEvents within a JTextArea, and shifts the focus to the next
  Component whenever the tab key is pressed while the JTextArea is
  focused. The problem with this approach, however, is that the tab
  character will still get inserted into the JTextArea before the focus
  is shifted away.
  The best solution I've found is to use a subclass of JTextArea whose
  isManagingFocus() method always returns false, instead of true. For
  example:
  import javax.swing.*;
  public class NoTabTextArea extends JTextArea {
  public boolean isManagingFocus() {
  return false;
  }
  }
  Unfortunately, you will not be able to visually manipulate instances
  of this class within a drag-and-drop-style form designer, like Visual
  Cafe, Visual Age, JBuilder, etc., unless you create a JavaBean based
  on the class. You can still hand-code an instance into your form
  class, but it will probably not be visible in the form designer.
  Please enable Javascript in your browser, before you post the comment! Now Javascript is disabled.
  Your name/nickname
  Your email
  WebSite
  Subject
  (Maximum characters: 1200). You have 1200 characters left.