Article View: borland.public.jbuilder.java.api
Article #3036JTextPane.setParagraphAttributes?
From: Denis Sarrazin
Date: Sun, 31 May 1998 00:00
Date: Sun, 31 May 1998 00:00
13 lines
1043 bytes
1043 bytes
Does anyone know what kind of values we can pass as the first parameter for this method (an example would be great)? The documentation doesn't seem very clear on this, and I could not find an example of this on the sun web site's Swing tutorial. I'm trying to change the font/style of text entered in a JTextPane, but it seems to be ignoring the values I use, so I'd like to try using the setParagraphAttributes instead. Thks, Denis Aquarius Creations dsarrazin@cyberus.ca http://www.cyberus.ca/~dsarrazin/Homepage1.html
Technical Details
Message-ID:
<3571721e.75558086@forums.inprise.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: 1089d0,7f66e7cfd8812ad9,start X-Google-Attributes: gid1089d0,public From: dsarrazin@cyberus.ca (Denis Sarrazin) Subject: JTextPane.setParagraphAttributes? Date: 1998/05/31 Message-ID: <3571721e.75558086@forums.inprise.com> X-Deja-AN: 358189542 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.api