Article View: borland.public.jbuilder.java.api
Article #834ImageIcon equivalent in AWT
From: George Boutwell
Date: Sat, 14 Sep 2002 17:48
Date: Sat, 14 Sep 2002 17:48
12 lines
1278 bytes
1278 bytes
I need to get an application working for PersonalJava 1.2. It has a
bunch of Swing stuff... I've gotten past most of that (I've only dabbled
in Java from time to time.) But for the life of me I can't seem to
replace this:
private ImageIcon pacman = new ImageIcon("pacman.gif");
What would be it's equivalent in AWT?
Thanks,
George
Technical Details
Message-ID:
<3D83765D.1030609@netscape.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,89e330da565ac5e7,start X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2002-09-14 11:03:40 PST Message-ID: <3D83765D.1030609@netscape.net> Date: Sat, 14 Sep 2002 12:48:13 -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: ImageIcon equivalent in AWT 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 1032025699 24.225.28.44 (14 Sep 2002 10:48:19 -0700) Lines: 13 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!newsgroups.borland.com!not-for-mail