🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: JPanel

#8906
From: Paul Furbacher [TeamB]
Date: Fri, 23 Jun 2000 00:00
12 lines
825 bytes
sven goetgeluck wrote:

> Hi want to get add backgroundimage on a panel
> how can this be done ??

Override the "paintComponent()" method.  If an
image is available, have the graphics object
"drawImage(...)".  Call "super.paintComponent()"
as necessary.


Paul Furbacher (TeamB)
Technical Details
Message-ID: <3953A059.54A8BC60@home.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <39523503@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,b51192381891a5b
X-Google-Attributes: gid111d45,public
From: "Paul Furbacher [TeamB]" <pnf@home.com>
Subject: Re: JPanel
Date: 2000/06/23
Message-ID: <3953A059.54A8BC60@home.com>
X-Deja-AN: 638137294
Content-Transfer-Encoding: 7bit
References: <39523503@dnews>
X-Accept-Language: en,pdf
Content-Type: text/plain; charset=us-ascii
Organization: Reverse Alchemy, Inc.
Mime-Version: 1.0
Reply-To: pnf@home.com
Newsgroups: borland.public.jbuilder.java.swing