🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Windows L&F JButton doesn't "feel" like Windows

#11252
From: Jason Burton
Date: Tue, 22 Jun 1999 00:00
30 lines
1644 bytes
I found this one in Bug Parade, classified as a bug.  I'm not sure how Swing
has gotten this far when mouse clicks are ignored.  The bug ID for this one
is 4226646.

Jason


Jason Burton <Jason.Burton@McLeodSoftware.com> wrote in message
news:7ko9bu$83p4@forums.borland.com...
> Anybody come up with a workaround for the lack of responsiveness of
> JButtons?  When they are clicked, sometimes the don't trigger the
> ActionListener sometimes.  I suspect that it has something to do with
mouse
> movement between the mouse press and mouse release.
> With a native Windows button you can mouse down on the button, move the
> cursor anywhere, return the mouse to any position on the button, mouse up,
> and it triggered a click event.
> With Swing, it seems that if you move the mouse just one pixel between
mouse
> press and release, the ActionListener will not be triggered.
> I imagine Swing is trying to translate this as a drag-and-drop, but it
> really shouldn't (at least in Windows L&F).
>
> Any suggestions?
>
> Thanks,
> Jason
>
>
Technical Details
Message-ID: <7kolr7$84120@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7ko9bu$83p4@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,dbafd083b6f05a3b
X-Google-Attributes: gid111d45,public
From: "Jason Burton" <Jason.Burton@McLeodSoftware.com>
Subject: Re: Windows L&F JButton doesn't "feel" like Windows
Date: 1999/06/22
Message-ID: <7kolr7$84120@forums.borland.com>
X-Deja-AN: 492620220
References: <7ko9bu$83p4@forums.borland.com>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.swing