Article View: borland.public.jbuilder.java.swing
Article #7493Re: Underline a JLabel
From: Oscar
Date: Wed, 24 Jan 2001 18:34
Date: Wed, 24 Jan 2001 18:34
24 lines
1495 bytes
1495 bytes
But now, I can't play with the size. All my labels has size=14 then is a constant but the sizes in HTML are differents from the ones in JLabel isn't is. Can we solve it ?
Thank�s again.
"Torsten Welches" <torsten.welches@who.cares.netcologne.de> wrote:
>Oscar,
>
>one way is to use HTML:
> lblYourLabel.setText("<html><u>Test</u><html>");
>
>http://web2.java.sun.com/docs/books/tutorial/uiswing/components/label.html
>(section "Using HTML on a Label ")
>
>Torsten
>
>Oscar schrieb in Nachricht <3a6eedd8$1_2@dnews>...
>>
>>How to make a JLabel undeline. We can make BOLD .... but whar about
>Undeline ?
>>
>>Thank�s
>
>
Technical Details
Message-ID:
<3a6f201d$1_2@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newsfeeds.belnet.be!news.belnet.be!news.tele.dk!194.213.69.151!news.algonet.se!algonet!newsfeed1.uni2.dk!newssuck.uni2.dk!bornews.borland.com!dnews!207.105.83.65References:
<3a6eedd8$1_2@dnews> <3a6ef518_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111d45,a71f412cb7c91044 X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2001-01-24 10:42:24 PST From: "Oscar" <oscar@jofre.com> Sender: "Oscar" <oscar@jofre.com> Reply-To: "Oscar" <oscar@jofre.com> Subject: Re: Underline a JLabel Newsgroups: borland.public.jbuilder.java.swing X-User-Info: 62.174.64.77 62.174.64.77 References: <3a6eedd8$1_2@dnews> <3a6ef518_2@dnews> NNTP-Posting-Host: 207.105.83.65 Message-ID: <3a6f201d$1_2@dnews> Date: 24 Jan 2001 10:34:05 -0800 X-Trace: 24 Jan 2001 10:34:05 -0800, 207.105.83.65 Lines: 25 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newsfeeds.belnet.be!news.belnet.be!news.tele.dk!194.213.69.151!news.algonet.se!algonet!newsfeed1.uni2.dk!newssuck.uni2.dk!bornews.borland.com!dnews!207.105.83.65