Re: Swing scrolling

From: Thomas Weidenfeller (nobody_at_ericsson.invalid)
Date: 11/29/04


Date: Mon, 29 Nov 2004 13:49:46 +0100

Marcus Shaw wrote:
> How do I make a JTextPane in a JScrollPane scroll to the end of the
> document when I append text? I'm sure there's a very easy way of doing
> it but I just can't spot it.

It's so easy, it is even answered in the comp.lang.java.gui FAQ.

/Thomas

-- 
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq


Relevant Pages

  • Swing scrolling
    ... How do I make a JTextPane in a JScrollPane scroll to the end of the ... document when I append text? ... Marcus. ...
    (comp.lang.java.help)
  • Re: Swing scrolling
    ... Thomas Weidenfeller wrote: ... >> How do I make a JTextPane in a JScrollPane scroll to the end of the ... >> document when I append text? ...
    (comp.lang.java.help)