Article View: borland.public.jbuilder.java.swing
Article #9887Re: JLabel.remove() method
From: Tor Iver Wilhelmsen
Date: Wed, 29 Dec 1999 00:00
Date: Wed, 29 Dec 1999 00:00
7 lines
743 bytes
743 bytes
Alan Shiers <jshiers@istar.ca> writes:
> I was able to use the same method but with a blank string to also
> remove the icon image: setIcon(new ImageIcon("")), but I don't think
> this is how were supposed to remove the icon image, is it?
setIcon(null) is a more likely candidate.
Technical Details
Message-ID:
<uvh5iqfxr.fsf@sds.no>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<38691920.18787F2F@istar.ca>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,da4570d1bb8d66fa X-Google-Attributes: gid111d45,public From: Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no> Subject: Re: JLabel.remove() method Date: 1999/12/29 Message-ID: <uvh5iqfxr.fsf@sds.no> X-Deja-AN: 565974798 Sender: towi@SDSA1761 References: <38691920.18787F2F@istar.ca> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.swing