🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2634

Re: Fonts with opaque backgrounds

#2634
From: Tor Iver Wilhelmsen
Date: Fri, 25 Aug 2000 00:00
8 lines
857 bytes
"Hilton Evans" <hfevans@SPAMNOT.ici.net> writes:

>     No. I want a string's white background to paint over the existing
>     background. WinAPI has a setbkmode to do this.

Strings don't have backgrounds. You will either need to use a
(J)Label, or set white color and call fillrect after computing the
size based on fontmetrics.
Technical Details
Message-ID: <u3djtlu0m.fsf@sds.no>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <39a52aa4$1_2@dnews> <MPG.140fab7a1dbe361d989b00@forums.borland.com> <39a5e8f5_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,a9e1301e9509b678
X-Google-Attributes: gid1089d0,public
From: Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no>
Subject: Re: Fonts with opaque backgrounds
Date: 2000/08/25
Message-ID: <u3djtlu0m.fsf@sds.no>
X-Deja-AN: 662252180
Sender: towi@SDSA1761
References: <39a52aa4$1_2@dnews> <MPG.140fab7a1dbe361d989b00@forums.borland.com> <39a5e8f5_2@dnews>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.api