Autoscrolling in a JTextField
posted 10 years ago
I am making a chat like client. I want it to auto scroll down to keep up with the text. Right now the text is added but the scroll bar doesn't move. I was looking at some scrollable stuff in the API, but I am still new to java and it is hard for me to find the right methods and stuff for what I want to do. I have programming experience, but am still a little confused on find what I need to accomplish certain tasks in java. Thanks for any help given. I have scrollbars in place already I just need any info on how to make the JTextField scroll along as new text extends past the bottom of my JTextField.