🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.java
Article #566

Re: Help ! How can I change string color in a JTextArea ?

#566
From: Ash
Date: Wed, 30 Aug 2000 00:00
11 lines
874 bytes
 JTextArea textArea = new JTextArea();
textArea.setForground(Color.green);
textArea.setBackground(Color.black); //background color
Ahiru <echang@ozemail.com.au> wrote in message
news:6iMq5.3090$cr3.124593@ozemail.com.au...
> Help ! How can I change string's color in a JTextArea ?
> I couldn't find a method to do it.
> Thanks
>
>
>
Technical Details
Message-ID: <8oirro$ifo$1@news.ihug.co.nz>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6iMq5.3090$cr3.124593@ozemail.com.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d6db,cc40e7e7d9bdddea
X-Google-Attributes: gid10d6db,public
From: "Ash" <ashs@clear.net.nz>
Subject: Re: Help ! How can I change string color in a JTextArea ?
Date: 2000/08/30
Message-ID: <8oirro$ifo$1@news.ihug.co.nz>
X-Deja-AN: 664288178
References: <6iMq5.3090$cr3.124593@ozemail.com.au>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Organization: The Internet Group Ltd
X-MSMail-Priority: Normal
Newsgroups: aus.computers.java