Article View: borland.public.jbuilder.java.swing
Article #7606Re: Here's some more information
From: Tor Iver Wilhelmsen
Date: Sun, 07 Jan 2001 15:57
Date: Sun, 07 Jan 2001 15:57
10 lines
1306 bytes
1306 bytes
"Jason Swett" <swettboy@ncats.net> writes: > I tried writing the following application after reading a bit more. I > created my own "ImagePanel" by slightly extending JPanel, but still can't > get the image to display. Can you tell me what's wrong with the code? > Thanks. (I added a re-paint button just for kicks, but it doesn't > accomplish anything.) Since you are using Swing, the simplest way to display an image is to use an ImageIcon on a JLabel with no text - try that instead.
Technical Details
Message-ID:
<ur92fuzhr.fsf@sds.no>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!209.50.235.254!europa.netcrusader.net!128.230.129.106!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!not-for-mailReferences:
<3a587c79_2@dnews> <3a588647_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,3d5e8a1122bfe253 X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2001-01-07 08:00:03 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!209.50.235.254!europa.netcrusader.net!128.230.129.106!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!not-for-mail From: Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no> Newsgroups: borland.public.jbuilder.java.swing Subject: Re: Here's some more information Date: 07 Jan 2001 16:57:04 +0100 Organization: Another Netscape Collabra Server User Lines: 10 Sender: towi@SDSA1761 Message-ID: <ur92fuzhr.fsf@sds.no> References: <3a587c79_2@dnews> <3a588647_2@dnews> NNTP-Posting-Host: pc4-252.sds.no X-Newsreader: Gnus v5.5/Emacs 20.3