🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: different coloured words in JTextComponent ?

#1061
From: John McGrath [TeamB]
Date: Sun, 02 May 2004 06:28
17 lines
1382 bytes
On 5/1/2004 at 4:28:45 AM, Sercan wrote:

> I want to use any color for some private keys in JTextComponent text
> content How can i use colorued words in JTextComponent.

JTextComponent is the abstract superclass from which a number of text
components are derived.  Only the JEditorPane and JTextPane subclasses
handle colored text.

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <409494fe$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail
References: <40935fba@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,aa1f006f121aa55c
X-Google-Attributes: gid111d45,public
From: "John McGrath  [TeamB]" <ng-b@JPMcGrath.net>
Subject: Re: different coloured words in JTextComponent ?
Newsgroups: borland.public.jbuilder.java.swing
References: <40935fba@newsgroups.borland.com>
User-Agent: XanaNews/1.16.2.2
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
NNTP-Posting-Host: 141.158.60.114
Message-ID: <409494fe$1@newsgroups.borland.com>
Date: 1 May 2004 23:28:14 -0700
X-Trace: newsgroups.borland.com 1083479294 141.158.60.114 (1 May 2004 23:28:14 -0700)
Lines: 17
X-Authenticated-User: jpmcgrath
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail