I am not able to get focus to the last line displayed in JTextArea, when I append to much lines in it. Just few of the first lines appeared. I can see the last lines by using scroll.
I'm using:
chatText = new JTextArea(10, 30);
chatText.setLineWrap(true);
chatText.setEditable(false);
chatText.setForeground(Color.white);
chatText.setBackground(new Color(80,0,0));
chatText.isManagingFocus();
What do I miss? and how to solve it.
Thanks
GuzaPasha
I'm using:
chatText = new JTextArea(10, 30);
chatText.setLineWrap(true);
chatText.setEditable(false);
chatText.setForeground(Color.white);
chatText.setBackground(new Color(80,0,0));
chatText.isManagingFocus();
What do I miss? and how to solve it.
Thanks
GuzaPasha