Article View: borland.public.jbuilder.java.swing
Article #1264Mouse moved event
From: George
Date: Mon, 08 Mar 2004 15:27
Date: Mon, 08 Mar 2004 15:27
16 lines
1739 bytes
1739 bytes
I have a JList inside a JPanel which is in a JFrame. 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. (I checked and double checked the spelling-- it's also italicised by JBuilder which suggests there's no problem there). Can some one tell me what I'm doing wrong? I am expecting my mouseMoved method to be called when the user moves the mouse over the JList. 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. " TIA George
Technical Details
Message-ID:
<404c9077$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!easynews.com!easynews!c03.atl99!news.usenetserver.com!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,f868ea1e3b9ad81,start X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2004-03-08 07:40:08 PST From: "George" <geo_54321@yahoo.com> Newsgroups: borland.public.jbuilder.java.swing Subject: Mouse moved event Date: Mon, 8 Mar 2004 10:27:09 -0500 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 63.119.115.129 Message-ID: <404c9077$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1078759543 63.119.115.129 (8 Mar 2004 07:25:43 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!easynews.com!easynews!c03.atl99!news.usenetserver.com!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail