🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: JFrame and Icons

#12370
From: Matt Krevs
Date: Fri, 15 Jan 1999 00:00
11 lines
894 bytes
setImageIcon() should definitely work. I would guess that the image you are
specifying is not in the classpath for your application.

Anne Nortcliffe wrote in message <369E0D42.7512B18F@sheffield.ac.uk>...
>Stupid question: How do you add an Icon to a JFrame?
>
>I tried setImageIcon and various other things but to no avail, there
>must be a way I'm just not seeing.
>
>Thanks for any help.
>
Technical Details
Message-ID: <77lrq5$1he18@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <369E0D42.7512B18F@sheffield.ac.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,1127e0807ff1077
X-Google-Attributes: gid111d45,public
From: "Matt Krevs" <mattkrevs@flex.com.au>
Subject: Re: JFrame and Icons
Date: 1999/01/15
Message-ID: <77lrq5$1he18@forums.borland.com>
X-Deja-AN: 432713442
References: <369E0D42.7512B18F@sheffield.ac.uk>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing