How to use JTextArea with JScrollPane?
I had a play with this but couldn't get it to work so I am assuming its nothing obvious. How is one supposed to use the JScrollPane with JTextArea so that the text area, if displaying only a portion of its contents, is still accessible by the scroll bar. In other words how to make the scroll bar work as expected.
I am not even sure that I should be trying to do this so if you have a better, easier, suggestion I am open to this as well.
Thanks in advance.