title: Showing TextArea in one Line
body: <pre><code>    JPanel leftPanel     = new JPanel();
      JPanel leftTopPanel  = new JPanel();
      JPanel leftDownPanel = new JPanel();
      JTextArea textArea = new JTextArea();
  
      textArea.setBackground(Color.red);
      textArea.setText("DESCRIPTION");
      textArea.setEnabled(false);
  
      leftPanel.setLayout( new GridLayout(2,1));
  
      JScrollPane scrollPane = new JScrollPane(textArea);
      scrollPane.setVerticalScrollBarPolicy(VERTICAL_SCROLLBAR_ALWAYS);
      scrollPane.setHorizontalScrollBarPolicy(HORIZONTAL_SCROLLBAR_NEVER);
      scrollPane.setPreferredSize( new Dimension(10,10));
  
      leftPanel.add(leftTopPanel);
      leftPanel.add(scrollPane);
      return leftPanel;
  </code></pre>
  
  <p>Hi everyone. I am trying to make a textArea which basially will get description from database. </p>
  
  <p>Here is the problem. When I write the real description in to TextArea, It always shows me the Description in one line. How can I fix it ?</p>
  
  <p>THANKS :)</p>