Article View: borland.public.jbuilder.java.swing
Article #12698JTextPane: outputting bold text
From: Vladimir Olenin
Date: Tue, 01 Dec 1998 00:00
Date: Tue, 01 Dec 1998 00:00
40 lines
1932 bytes
1932 bytes
This is a multi-part message in MIME format.
--------------96D22FF30478F5A3ADE558FB
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 7bit
Hi there,
my question is how can i output text in bold in JTextPane component?
That is not applying bold effect to selected text, but to make it bold
during output (by means of setText() method, for instance). I figured
out setCharacterAttributes() and BoldAction methods existance, but don't
have a faintest idea about how to use all that stuff. So, it's right
here where i count on your help. Thanks beforehand,
Vladimir
--
>~~~~~~~~<=============>~~~~~~~~<
Be yourself no matter what they say...
Join in Java community now!
http://www.geocities.com/SiliconValley/Heights/9815
>~~~~~~~~<=============>~~~~~~~~<
--------------96D22FF30478F5A3ADE558FB
Content-Type: text/x-vcard; charset=koi8-r;
name="keenonjava.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Vladimir Olenin
Content-Disposition: attachment;
filename="keenonjava.vcf"
begin:vcard
n:Vladimir;Olenin
x-mozilla-html:FALSE
adr:version:2.1;;;;;;
version:2.1
email;internet:keenonjava@collegemail.com
note:Java programmer. Open for project development offers. See my home page at: http://www.geocities.com/SiliconValley/Heights/9815/
end:vcard
--------------96D22FF30478F5A3ADE558FB--
Technical Details
Message-ID:
<3663078E.3E8189CE@collegemail.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,42432e4240ab22a,start X-Google-Attributes: gid111d45,public From: Vladimir Olenin <keenonjava@collegemail.com> Subject: JTextPane: outputting bold text Date: 1998/12/01 Message-ID: <3663078E.3E8189CE@collegemail.com> X-Deja-AN: 417219181 X-Accept-Language: en,ru Content-Type: multipart/mixed; boundary="------------96D22FF30478F5A3ADE558FB" Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing