Resizing JTextArea
First, I'm wondering if anyone else has experienced the following problem:
When a user resizes a JFrame, an editable JTextArea component does not display its contents properly. Specifically, the caret does not change position, but the displayed text does not even show the caret. The user can use an arrow key and everything is then fine. The behavior is sporadic, sometimes everything works.
The program in which this occurs is too large to show the code, and I'm hoping I don't have to manufacture an example showing this. At any rate, the JTextArea is inside a JScrollPane which in turn is a component of a JSplitPane. The JTextArea has a CaretListener and also a DocumentListener, although I don't see how this could have any bearing on the problem.
Thanks in advance for any help.

