🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Change the color of HTML under JEditorPane action set

#8743
From: Fran�ois B�lair
Date: Wed, 26 Jul 2000 00:00
18 lines
1236 bytes
Salutation,

I have been using a JEditorPane in order to make an HTML editor. I have used
the name of the actions of the EditorKit such as "font-size-14" and
"font-bold" in order to modify the content of the HTML page. It's working
perfectly.

However, i have not found a way to change the color since i can not find any
action associated with the JEditorPane that allow to change the color of an
HTML string (i can just modify the font, the alignment and the size of the
characters).

Could someone tell the name of those actions or where i can find a list of
those actions in the documention?

Thank you in advance.

Fran�ois B�lair
Technical Details
Message-ID: <8lo2kc$t4s3@bornews.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,f7e7c0090587928c,start
X-Google-Attributes: gid111d45,public
From: "Fran�ois B�lair" <belair@orbitek.com>
Subject: Change the color of HTML under JEditorPane action set
Date: 2000/07/26
Message-ID: <8lo2kc$t4s3@bornews.borland.com>
X-Deja-AN: 651222056
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Reply-To: "Fran�ois B�lair" <belair@orbitek.com>
Newsgroups: borland.public.jbuilder.java.swing