Article View: borland.public.jbuilder.java.swing
Article #12385setIconImage for JFrame
From: Anne Nortcliffe
Date: Mon, 18 Jan 1999 00:00
Date: Mon, 18 Jan 1999 00:00
22 lines
1103 bytes
1103 bytes
I don't seem to be able to get this function to work...
I've tried,
import com.sun.java.swing.*;
.
.
.
ImageIcon icon= new
ImageIcon("C:\\jbuilder2\\lib\\image32\\appwr.gif");
this.setIconImage(icon);
but on compiling, the response is,
method setIconImage(com.sun.java.swing.ImageIcon) not found
in class projectname.framename
I've also tried,
this.setIconImage("C:\\jbuilder2\\lib\\image32\\appwr.gif");
with similar results
Any help would be greatly appreciated...
Technical Details
Message-ID:
<36A3563A.34306F81@sheffield.ac.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,37b9755902290c32,start X-Google-Attributes: gid111d45,public From: Anne Nortcliffe <cop94aln@sheffield.ac.uk> Subject: setIconImage for JFrame Date: 1999/01/18 Message-ID: <36A3563A.34306F81@sheffield.ac.uk> X-Deja-AN: 434026097 Content-Transfer-Encoding: 7bit Organization: Another Netscape Collabra Server User Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing