🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Adding global mouse listener

#10786
From: Jason Burton
Date: Tue, 10 Aug 1999 00:00
10 lines
919 bytes
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
Technical Details
Message-ID: <7opsfj$ala3@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,2c6fb04c8324bda4,start
X-Google-Attributes: gid111d45,public
From: "Jason Burton" <Jason.Burton@McLeodSoftware.com>
Subject: Adding global mouse listener
Date: 1999/08/10
Message-ID: <7opsfj$ala3@forums.borland.com>
X-Deja-AN: 511152258
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