🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #16033

Re: Highlight a label

#16033
From: Aslak Poppe
Date: Thu, 08 Apr 1999 00:00
47 lines
1406 bytes
Hi, it depend on how you want it highlighted.

Under the initialization part you could write the following if you want it
in color (f.ex. red):
labelName.setForeground(Color.red);
or
labelName.setForeground(new Color(255, 0, 0));

or if you want it in bold type:
labelName.setFont(new Font("Dialog", Font.BOLD, 12));


Priscilla Wong wrote:

  I would like to highlight a label in my java application.  How can i do?

  regards,
  Priscilla

Best regard
Aslak Poppe

e-mail: aslak.poppe@radsoft.no
Internett: http://www.radsoft.no

Priscilla Wong wrote:

> I would like to highlight a label in my java application.  How can i do?
>
> regards,
> Priscilla

--
Med vennlig hilsen
RADsoft AS

Aslak Poppe

Adresse:
Kongens gt. 16
0153 Oslo

e-post: aslak.poppe@radsoft.no
Internett: http://www.radsoft.no

Tlf. 22 42 80 30
Fax. 22 42 80 20
Technical Details
Message-ID: <370C9A88.CCD54B85@radsoft.no>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36E6ABE6.BF68E000@hotmail.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,8eec24f2e36f0393
X-Google-Attributes: gidf74b3,public
From: Aslak Poppe <aslak.poppe@radsoft.no>
Subject: Re: Highlight a label
Date: 1999/04/08
Message-ID: <370C9A88.CCD54B85@radsoft.no>
X-Deja-AN: 464005483
Content-Transfer-Encoding: 7bit
References: <36E6ABE6.BF68E000@hotmail.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: RADsoft AS
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language