🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: rolloverIcon of a button within a toolbar?

#9313
From: Phillipus
Date: Thu, 27 Apr 2000 00:00
12 lines
867 bytes
I had this problem too.
Try adding:

toolBar.putClientProperty("JToolBar.isRollover", Boolean.TRUE);


Hilde Lehmann wrote:

> If I set a rolloverIcon in a button that is in a JPanel it does work but
> if I add the button to a toolbar, it does not appear.
> Why?
> Hilde Lehmann
Technical Details
Message-ID: <3908183D.BA5AF12C@bangor.ac.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <390711B5.D0CE164A@intercable.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,cdfc8e3b7a42eaec
X-Google-Attributes: gid111d45,public
From: Phillipus <p.beauvoir@bangor.ac.uk>
Subject: Re: rolloverIcon of a button within a toolbar?
Date: 2000/04/27
Message-ID: <3908183D.BA5AF12C@bangor.ac.uk>
X-Deja-AN: 616289114
Content-Transfer-Encoding: 7bit
References: <390711B5.D0CE164A@intercable.net>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Trace: 27 Apr 2000 03:27:28 -0800, 147.143.6.201
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing