Article View: borland.public.jbuilder.java.swing
Article #11383Re: inspector bites icon
From: Greg Hamer
Date: Fri, 04 Jun 1999 00:00
Date: Fri, 04 Jun 1999 00:00
39 lines
2119 bytes
2119 bytes
If you turn on logging for JBuilder, you may see some stack traces for your problem. To turn on logging, edit lib\jbuilder.properties while JBuilder is not running . Near the top of the file, change the line jbuilder.logOutput=nul to point to a file. In JBuilder3, some design time problems write messages to the message view. Bill Winspur wrote: > 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:
<37588946.7591048A@borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<375747BC.B95AB01D@wynnon.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,3c5e4ef4c2212740 X-Google-Attributes: gid111d45,public From: Greg Hamer <ghamer@borland.com> Subject: Re: inspector bites icon Date: 1999/06/04 Message-ID: <37588946.7591048A@borland.com> X-Deja-AN: 485896134 Content-Transfer-Encoding: 7bit References: <375747BC.B95AB01D@wynnon.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing