Your Internet Explorer version is not compatible with our shopping cart system. Please use version 9 or higher to avoid problems with your order(s). Close
I created a chat program and i am using a JtextPane to display the text. i have autoscrolls on set, but i have to actually use them to see new text when the pane is updated. is there a way to keep the scroll at the bottom so i don’t need to scroll down everytime.
JTextPane is overkill if you are only displaying plain text, JTextArea will be lighter weight. Autoscroll not scrolling has been a issue marked for a while in Swing I believe, you can also adjust the setVisibleRect value on the TextArea to the highest y value to keep scrolling every time text is entered if you need to.