Article View: borland.public.jbuilder.java.api
Article #848Re: ImageIcon equivalent in AWT
From: Tor Iver Wilhelmsen (TeamB)
Date: Sun, 22 Sep 2002 14:41
Date: Sun, 22 Sep 2002 14:41
9 lines
1212 bytes
1212 bytes
George Boutwell <gboutwel@netscape.net> writes:
> private ImageIcon pacman = new ImageIcon("pacman.gif");
>
> What would be it's equivalent in AWT?
A custom Component holding a reference to an Image and using its
properties for getSize() etc., painting the image onto itself in
paint().
Technical Details
Message-ID:
<u4rciulx2.fsf@ergo.no>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-05!sn-xit-01!sn-xit-04!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!newsgroups.borland.com!not-for-mailReferences:
<3D83765D.1030609@netscape.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,89e330da565ac5e7 X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2002-09-22 08:06:07 PST Sender: towi@SDSA3850 Newsgroups: borland.public.jbuilder.java.api Subject: Re: ImageIcon equivalent in AWT References: <3D83765D.1030609@netscape.net> From: tor.wilhelmsen@ergo.no (Tor Iver Wilhelmsen (TeamB)) Date: 22 Sep 2002 16:41:13 +0200 Message-ID: <u4rciulx2.fsf@ergo.no> Lines: 9 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 139.105.4.236 X-Trace: newsgroups.borland.com 1032705674 139.105.4.236 (22 Sep 2002 07:41:14 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-05!sn-xit-01!sn-xit-04!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!newsgroups.borland.com!not-for-mail