🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #7829

Re: JLabel Question

#7829
From: Torsten Welches
Date: Tue, 02 Jan 2001 21:27
16 lines
1204 bytes
James,

you need to override the paintComponent method, which JLabel inherits from
JComponent.
http://web2.java.sun.com/docs/books/tutorial/uiswing/painting/overview.html

Torsten

James A. Schulz schrieb in Nachricht <92st8u$gjo7@bornews.inprise.com>...
>Can I draw directly on a JLabel?  If so, how do I do this?
>
>thanks,
>
>James
>
>
Technical Details
Message-ID: <3a524838$1_1@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!sunqbc.risq.qc.ca!news.imp.ch!news-zh.switch.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!bornews.borland.com!dnews!195.14.226.190
References: <92st8u$gjo7@bornews.inprise.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,88ee7dbcf05b0be2
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2001-01-02 13:31:38 PST
From: "Torsten Welches" <torsten.welches@who.cares.netcologne.de>
Newsgroups: borland.public.jbuilder.java.swing
References: <92st8u$gjo7@bornews.inprise.com>
Subject: Re: JLabel Question
Date: Tue, 2 Jan 2001 22:27:18 +0100
Lines: 18
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
NNTP-Posting-Host: 195.14.226.190
Message-ID: <3a524838$1_1@dnews>
X-Trace: 2 Jan 2001 13:29:28 -0800, 195.14.226.190
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!sunqbc.risq.qc.ca!news.imp.ch!news-zh.switch.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!bornews.borland.com!dnews!195.14.226.190