Results 1 to 2 of 2
- 10-13-2008, 10:09 AM #1
[SOLVED] how to scroll jTextArea cousor position to last?
im adding text to a jTextArea line by line using append() method. i want the scroller to scroll down as the lines increases.
i 've used setCaretPosition(myTextArea.getRows()-1) but it is not working.
cn any one pls tell me how to do this?
thanks in advance!
- 10-13-2008, 12:42 PM #2
- By nidhirastogi in forum SWT / JFaceReplies: 1Last Post: 09-07-2008, 03:42 AM
- By 82rathi.angara in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 07-05-2008, 02:11 PM
- By tryit in forum EclipseReplies: 3Last Post: 04-28-2008, 07:07 AM
- By SteM in forum AWT / SwingReplies: 3Last Post: 12-05-2007, 07:35 PM
- By ziniestro in forum AWT / SwingReplies: 2Last Post: 06-01-2007, 03:59 PM