🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Applet Background color

#14636
From: Rich Wilkman
Date: Mon, 09 Aug 1999 00:00
41 lines
1988 bytes
Pete:

While you can't control the defaults in the browser, as long as you set
the background on the appropriate items it works fine.  An Applet is
just a Panel, so if all that is on screen in your Applet and you set it
to pink, it will show as pink.  If you have added items to your
Applet/Panel, you have to set the background of those items (though any
part of the applet not obscured would still show as pink).

-Rich

Pete Blacker wrote:
> 
> Hi
> 
> I have been building applets for web pages, but I haven't yet found a
> way of controlling the background color. The default for this varies
> between browsers, white - NS, black/grey - IE. Does anyone know how to
> define the background color of an applet. I've tried the
> setBackground(...) method which didn't work and setting the bgcolor in
> the <applet> tag of the html.
> Thanks in advance for any help.
> 
> Pete Blacker
> --------------
> Webmaster - http://www.ComicJunk.com

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rich Wilkman
Quality Assurance Manager
Borland JBuilder Team

If you see something that looks like an opinion up there,
it's mine and mine alone.

Mail sent to me from the newsgroups won't bounce but will
be ignored.  If I have time, I'll respond, but you  have
a better chance if you confine your posts to the newsgroups
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID: <37AEEE16.DA275E0A@inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37AD9015.B703C5C0@comicjunk.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,1642047b6ae73da2
X-Google-Attributes: gidf74b3,public
From: Rich Wilkman <rwilkman@inprise.com>
Subject: Re: Applet Background color
Date: 1999/08/09
Message-ID: <37AEEE16.DA275E0A@inprise.com>
X-Deja-AN: 510621329
Content-Transfer-Encoding: 7bit
References: <37AD9015.B703C5C0@comicjunk.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language