开发者

JTextArea does not scroll to the bottom after a highlight

When i add JTextArea to a scrollpane..

I can add messages to the textArea eg JTextArea.append("\n" +message);

and it will scroll to the bottom of the JTextARea

BUT!

after i highlight the text area and add a mesage again it will not scroll to the bottom automatically.

Is this java problem, or something i should implement manually. because if it is not doing after just a highlight, 开发者_开发百科than it is pretty dam weird.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜