title: Java JTextArea that auto-resizes and scrolls
body: <p>I have a JTextArea in a JPanel. How can I have the JTextArea fill the whole JPanel and resize when the JPanel resizes and scroll when too much text is typed in?</p>