Article View: borland.public.jbuilder.java.swing
Article #10710Re: Adding global mouse listener
From: Tad Frysinger
Date: Fri, 20 Aug 1999 00:00
Date: Fri, 20 Aug 1999 00:00
19 lines
1077 bytes
1077 bytes
In article <7opsfj$ala3@forums.borland.com>, Jason.Burton@McLeodSoftware.com says... > Does anyone know of a way to track mouse events at the application level? > For example, I want the user to be able to click a "Help" button. This > changes their cursor into a question mark. I want my Help class to then > listen to mouse events to display context sensitive help the next time the > mouse is clicked (at which time the Help class will quit listening to mouse > events). > > Any ideas? > > Jason > > > If you use a GlassPane, you capture all mouse activity before it gets to any components... Tad Frysinger (TeamB)
Technical Details
Message-ID:
<MPG.1227075a955aa94d989690@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7opsfj$ala3@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,2c6fb04c8324bda4 X-Google-Attributes: gid111d45,public From: tfrysinger@earthlink.net (Tad Frysinger) Subject: Re: Adding global mouse listener Date: 1999/08/20 Message-ID: <MPG.1227075a955aa94d989690@forums.borland.com> X-Deja-AN: 515109925 References: <7opsfj$ala3@forums.borland.com> Organization: RTOne Newsgroups: borland.public.jbuilder.java.swing