Title: RE: set color of JLabel text

am I missing something?
maybe I just got done doing a radio show at 2:30am and I'm back at work at 7:30am,
but:
JLabel label = new JLabel("hello glory");
label.setForeground(Color.red);

that?
rev aaron

-----Original Message-----
From: Dmitry Beransky [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 02, 2001 12:30 PM
To: '[EMAIL PROTECTED]'
Subject: Re: set color of JLabel text


A good place to start would be
<http://java.sun.com/docs/books/tutorial/uiswing/start/index.html>.  If
you need a Visualage specific answer, I recommend posting to
<http://groups.yahoo.com/group/wsvaj>.

On Mon, 2 Apr 2001, Mario Fernandes (IT Dept. - Langley) wrote:

> Hi
>
> how do I set the color of the text appearing in a JLabel. I am using Ibm
> Visualage and the color of the text appearing  in the JLabel and the JButon
> are different.
>
>
> Thanx in advance
>
>
> Mario
>

_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to