🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Overriding JLabel Geometry

#1451
From: John McGrath [TeamB]
Date: Sat, 22 Nov 2003 17:19
17 lines
1393 bytes
On 11/21/2003 at 6:46:53 PM, Matthew Sweet wrote:

> Does anyone have any ideas or points of reference to go about
> overiding the geometry of a JLabel component. So if I have a JLabel
> that is bevelled and looks like a square, I want it to look like a
> hexagon.

It sounds like you need to create your own Border class.

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <3fbfa899$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3fbea441$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,ce0d9e04f25fcc86
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2003-11-22 10:39:22 PST
From: "John McGrath  [TeamB]" <ng-b@JPMcGrath.net>
Subject: Re: Overriding JLabel Geometry
Newsgroups: borland.public.jbuilder.java.swing
References: <3fbea441$1@newsgroups.borland.com>
User-Agent: XanaNews/1.15.7.4
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
NNTP-Posting-Host: 141.151.22.18
Message-ID: <3fbfa899$1@newsgroups.borland.com>
Date: 22 Nov 2003 10:19:05 -0700
X-Trace: newsgroups.borland.com 1069525145 141.151.22.18 (22 Nov 2003 10:19:05 -0700)
Lines: 17
X-Authenticated-User: jpmcgrath
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail