Results 1 to 2 of 2
- 10-13-2008, 10:09 AM #1
[SOLVED] how to scroll jTextArea cousor position to last?
hi all,
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
Similar Threads
-
scroll a Jpanel in a JFrame
By nidhirastogi in forum SWT / JFaceReplies: 1Last Post: 09-07-2008, 03:42 AM -
Controlling Page Scroll Position in Jsp....f there are fewer than 4 pages only that n
By 82rathi.angara in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 07-05-2008, 02:11 PM -
code hint scroll bar ?
By tryit in forum EclipseReplies: 3Last Post: 04-28-2008, 07:07 AM -
Scroll thumb on the ScrollPanel
By SteM in forum AWT / SwingReplies: 3Last Post: 12-05-2007, 06:35 PM -
Jtextarea and scroll
By ziniestro in forum AWT / SwingReplies: 2Last Post: 06-01-2007, 03:59 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks