🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #12612

Re: How to append text in JTextPane?

#12612
From: Tor Iver Wilhelmsen
Date: Wed, 02 Dec 1998 00:00
7 lines
759 bytes
Vladimir Olenin <keenonjava@collegemail.com> writes:

> I found that function in JTextArea, but none exists in JTextPane. So,
> how can i append text to the one i already have there? I really need
> your help. Thanks a lot.

Try altering the JTextPane's _document_, aka. its model.
Technical Details
Message-ID: <u67bu7vle.fsf@sds.no>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36644790.CEE909CF@collegemail.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,c914ac33bdb880f9
X-Google-Attributes: gid111d45,public
From: Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no>
Subject: Re: How to append text in JTextPane?
Date: 1998/12/02
Message-ID: <u67bu7vle.fsf@sds.no>
X-Deja-AN: 417788951
Sender: towi@SDSA1761
References: <36644790.CEE909CF@collegemail.com>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing