Article View: borland.public.jbuilder.java.language
Article #18401Re: Swing Button Again
From: Amy S Lee
Date: Thu, 25 Jun 1998 00:00
Date: Thu, 25 Jun 1998 00:00
20 lines
1323 bytes
1323 bytes
Gerry Mantha wrote: > Amy, are you using a JApplet? Have you set any other properties of the > button? I would check to ensure you are using pure swing stuff, and not > mixing lightweight and heavyweight controls. Also, ensure that properties > such as setBorderPainted() is true. I haven't had the problems with JButton > you mention. Also, what method are you using to set the icon? Does the icon > "move" a little when you press the button in windows L&F? Do your > actionListener's work (receiving mouse events ok)? You may want to try > posting some code if all this checks out. > > Gerry Mantha > Thanks. I was not using JApplet. Everything is working great now. Amy
Technical Details
Message-ID:
<35928C00.1F472047@engr.colostate.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<358EC9DF.EF407945@engr.colostate.edu> <6msflm$lr111@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,4d5d2f22ddfa6ee7 X-Google-Attributes: gidf74b3,public From: Amy S Lee <al587439@engr.colostate.edu> Subject: Re: Swing Button Again Date: 1998/06/25 Message-ID: <35928C00.1F472047@engr.colostate.edu> X-Deja-AN: 366033252 Content-Transfer-Encoding: 7bit References: <358EC9DF.EF407945@engr.colostate.edu> <6msflm$lr111@forums.borland.com> To: Gerry Mantha <gmantha@home.com> Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language