Article View: borland.public.jbuilder.java.api
Article #836Re: ImageIcon equivalent in AWT
From: George Boutwell
Date: Sat, 14 Sep 2002 22:18
Date: Sat, 14 Sep 2002 22:18
16 lines
1536 bytes
1536 bytes
Thanks John. I figured that much out. But every attempt I made at
trying to use Image complained about it being an abstract class, or
plain old didn't work. I guess I'll go bang my head against the wall
some more.
George
John McGrath [TeamB] wrote:
>>private ImageIcon pacman = new ImageIcon("pacman.gif");
>>
>>What would be it's equivalent in AWT?
>
>
> There is no direct equivalent, but the closest thing is an Image.
Technical Details
Message-ID:
<3D83B5D3.6050504@netscape.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!logbridge.uoregon.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3D83765D.1030609@netscape.net> <MPG.17ed4ff5883305e098b9f7@newsgroups.borland.com>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-14 15:54:18 PST Message-ID: <3D83B5D3.6050504@netscape.net> Date: Sat, 14 Sep 2002 17:18:59 -0500 From: George Boutwell <gboutwel@netscape.net> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.api Subject: Re: ImageIcon equivalent in AWT References: <3D83765D.1030609@netscape.net> <MPG.17ed4ff5883305e098b9f7@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.225.28.44 X-Trace: newsgroups.borland.com 1032041944 24.225.28.44 (14 Sep 2002 15:19:04 -0700) Lines: 17 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!logbridge.uoregon.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail