Article View: borland.public.jbuilder.java.swing
Article #13331Problem with JButton and Icons
From: jdutton
Date: Wed, 12 Aug 1998 00:00
Date: Wed, 12 Aug 1998 00:00
22 lines
1290 bytes
1290 bytes
I have the following problem: When I define a JButton component with the designer tool and go to the Icon property of the Inspector I get a combo box with no items. If I define myself an Icon object in the source code of my application and go back to the Inspector, when I click the combo box of the Icon property n I get the <none> item as above and the name of my newly created Icon object but there's no way to select this item and this field always stays in blank... I found that the only way for me to add an Icon to a JButton is doing it by myself, even there the icon does not appear on my design screen, only when I run my application. How do I populate the combo box for such Icon property? Is there a repository or something like this to do it? Many thanks JORGE
Technical Details
Message-ID:
<35D177CD.A26918B@cgspain.net>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,678ca93472729773,start X-Google-Attributes: gid111d45,public From: jdutton <jdutton@cgspain.net> Subject: Problem with JButton and Icons Date: 1998/08/12 Message-ID: <35D177CD.A26918B@cgspain.net> X-Deja-AN: 380361780 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