Article View: borland.public.jbuilder.java.swing
Article #11624Document and JTextPane with scrollbars... (please help)
From: Khurram Shakir
Date: Sun, 02 May 1999 00:00
Date: Sun, 02 May 1999 00:00
14 lines
998 bytes
998 bytes
I am using JTextPane and DefaultStyledDocument with undo Manager. when ever I insert new line, to JTextPane, the scrollbar is jump to first line, i.e if scroll bar is present usually last inserted line is not visiable . but I want the look like chatting window of irc softwares.., i.e. last inserted line is always visible. please help me..., I am using swing 1.0.1 -- Khurram Shakir Java Developer Progressive Systems(Pvt.) Limited kshakir@prosys.com.pk ICQ # : 17135971
Technical Details
Message-ID:
<7gfme1$8g7@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,c87f59f78abfc032,start X-Google-Attributes: gid111d45,public From: "Khurram Shakir" <kshakir@prosys.com.pk> Subject: Document and JTextPane with scrollbars... (please help) Date: 1999/05/02 Message-ID: <7gfme1$8g7@forums.borland.com> X-Deja-AN: 472970106 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Organization: Progressive Systems X-MSMail-Priority: Normal Newsgroups: borland.public.jbuilder.java.swing