🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

how do I draw a JPG to a panel/container

#1219
From: PeterH
Date: Sun, 14 Apr 2002 21:00
5 lines
1090 bytes
I thought I could just use a drawImage() method, but I can't seem to get it
to work.  I can get it to work if I use an Icon and a JLabel, but I was
hoping to avoid using a JLabel for an image.

Can I draw an image to a container?  Thanks.
Technical Details
Message-ID: <3cb9ef73$1_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!skynet.be!skynet.be!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,422c9cef40be2392,start
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2002-04-14 14:09:08 PST
From: "PeterH" <!Sorry-TooMuchSpam!nope@nope.com>
Newsgroups: borland.public.jbuilder.java.api
Subject: how do I draw a JPG to a panel/container
Date: Sun, 14 Apr 2002 17:00:07 -0400
Lines: 7
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 24.112.10.56
Message-ID: <3cb9ef73$1_1@dnews>
X-Trace: dnews 1018818419 24.112.10.56 (14 Apr 2002 14:06:59 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!skynet.be!skynet.be!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews