πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Transparent Label and Textfields?

#19421
From: Tim Shelley
Date: Fri, 06 Feb 1998 00:00
29 lines
1373 bytes
Hi,

I quickly wrote a 'light component' for a transparent label but the text
still keeps on appearing under the image?

Tim.

dominiqueB wrote:

> Lightweight Component !
>
> Basicaly, your UI Component must extend Component, and you must override
> update() and paint(), and call super.paint() in your paint() method.
>
> I did my own lightweight Label and Button, but a TextField is much more
> difficult to handle.
> Tim Shelley a οΏ½crit dans le message <34D9BA7B.81C715B7@objectuk.co.uk>...
> >Hi,
> >
> >Does anyone out there know how I can make a label or textField have a
> >transparent background.  Bascially I have a frame with an image on and I
> >want to have labels on the image  - at present you can only choose a
> >colour rather than transparent.
> >
> >Thanks,
> >
> >Tim.
> >
Technical Details
Message-ID: <34DB3961.168844C6@objectuk.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <34D9BA7B.81C715B7@objectuk.co.uk> <6besdb$4jm$1@news3.isdnet.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f74b3,8bf1ecfe3ebd80ae
X-Google-Attributes: gidf74b3,public
From: Tim Shelley <tim_shelley@objectuk.co.uk>
Subject: Re: Transparent Label and Textfields?
Date: 1998/02/06
Message-ID: <34DB3961.168844C6@objectuk.co.uk>
X-Deja-AN: 322657720
Content-Transfer-Encoding: 8bit
References: <34D9BA7B.81C715B7@objectuk.co.uk> <6besdb$4jm$1@news3.isdnet.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Organization: None
Newsgroups: borland.public.jbuilder.java.language