🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

inspector bites icon

#11373
From: Bill Winspur
Date: Thu, 03 Jun 1999 00:00
28 lines
1694 bytes
I'm attempting to set the icon property of a JButton in the inspector.
I've created class ZoomIcon, which extends Object and implements Icon. A
ZoomIcon instance draws a plus sign or a minus sign when its paintIcon
method is invoked (intended to save a couple of gif downloads).

In a test JFrame, having only the single JButton on it, I create an
instance of ZoomIcon by:

Icon plusSign = new ZoomIcon(ZoomIcon.PlusSign);

In its drop down menu, the 'icon' property editor of the JButton's
inspector shows plusSign, BUT .... when I select plus sign from the drop
down,  the inspector flickers and fails to assign it to the property.

1. Given that the property editor accepted the ZoomIcon, which IDE
component subsequently rejected it ?

2. Is there a diagrnostic/logging trace that would show why the property
was rejected ?

3 What conditions can cause reject of a property assignment from the
drop down list.?

I've pored over the archives to no avail, except that a similar problem
has been reported before <34F1CA3B.91027487@csi.com>, but there is no
resolution of it in the archive.

Thanks in advance for any help you can give.
Technical Details
Message-ID: <375747BC.B95AB01D@wynnon.com>
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,3c5e4ef4c2212740,start
X-Google-Attributes: gid111d45,public
From: Bill Winspur <bwinspur@wynnon.com>
Subject: inspector bites icon
Date: 1999/06/03
Message-ID: <375747BC.B95AB01D@wynnon.com>
X-Deja-AN: 485522367
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Wynnon Methods & Systems, Inc
Mime-Version: 1.0
Reply-To: bwinspur@wynnon.com
Newsgroups: borland.public.jbuilder.java.swing