🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.java.swing
2 messages
2 total messages Started by Sercan Sat, 01 May 2004 08:28
different coloured words in JTextComponent ?
#1060
Author: Sercan
Date: Sat, 01 May 2004 08:28
7 lines
1042 bytes
Hi,
I want to use any color for some private keys in JTextComponent text content
How can i use colorued words in JTextComponent.
--

Sercan
Re: different coloured words in JTextComponent ?
#1061
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads