Article View: borland.public.jbuilder.java.swing
Article #1265Re: Mouse moved event
From: John McGrath [TeamB]
Date: Tue, 09 Mar 2004 20:10
Date: Tue, 09 Mar 2004 20:10
26 lines
1962 bytes
1962 bytes
On 3/8/2004 at 10:27:09 AM, George wrote:
> I have a subclassed MouseInputAdapter to handle mouse events
> on the JList. I find that I receive all events except
> mouseMoved(MouseEvent e). This method never gets called.
This should work. Can you provide a runnable sample application that
demonstrates the problem?
> The documentations for mouseMoved says "Invoked when the mouse cursor
> has been moved onto a component but no buttons have been pushed. "
> Not sure how this differs from mouseEntered which is described as
> "Invoked when the mouse enters a component. "
A single mouseEntered event occurs when the mouse moves from outside
the bounds of the component to inside its bounds. The mouseMoved event
will occur multiple times as you move the mouse within the component.
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID:
<404e24cf@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!border1.nntp.ash.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<404c9077$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,f868ea1e3b9ad81 X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2004-03-09 12:24:10 PST From: "John McGrath [TeamB]" <ng-b@JPMcGrath.net> Subject: Re: Mouse moved event Newsgroups: borland.public.jbuilder.java.swing References: <404c9077$1@newsgroups.borland.com> User-Agent: XanaNews/1.16.1.11 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 NNTP-Posting-Host: 151.197.214.141 Message-ID: <404e24cf@newsgroups.borland.com> Date: 9 Mar 2004 12:10:55 -0800 X-Trace: newsgroups.borland.com 1078863055 151.197.214.141 (9 Mar 2004 12:10:55 -0800) Lines: 26 X-Authenticated-User: jpmcgrath Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!border1.nntp.ash.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail