🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #8374

Simple question I think.

#8374
From: Stephen
Date: Fri, 15 Sep 2000 00:00
12 lines
755 bytes
Hi,

I am trying to add a simple image to a panel with no success.

How do I add the image to the panel?  I have constructed my
image with the code below.

    Image img;
    img = new ImageIcon(MY_GIF);

Cheers
Stephen
Technical Details
Message-ID: <39c1fb71$0$23085$4db1788e@beta.news.uk.uu.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,c75f955f7b52a84e,start
X-Google-Attributes: gid111d45,public
From: "Stephen" <stephen.gemmell@cadspace.com>
Subject: Simple question I think.
Date: 2000/09/15
Message-ID: <39c1fb71$0$23085$4db1788e@beta.news.uk.uu.net>
X-Deja-AN: 670089874
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Trace: 969014130 beta.news.uk.uu.net 23085 193.130.144.188
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.swing