mouse_clicked events

From: Hedges, Matthew (Contractor) <Matthew.Hedges@dsto.defence.gov.au>
Date: Thu Sep 20 2001 - 04:19:30 EDT

This might seem like an odd question. Has anyone experienced some strange
behaviour in distance mouse mode when double clicking the left mouse button.

I am investigating a problem in my application, and found that when I double
click the mouse on the map bean, I was getting two events being sent to my
mouse mode code. The first was a mouse_clicked event with a "click count" of
one, the second was a mouse_clicked event with a "click count" of two
(sometimes I think a mouse_pressed event occurs first as well). I was
expecting that I should receive only one mouse_clicked event - with a "click
count" of two.

I have experimented with distance mouse mode, just adding some output
statements and it seems to confirm this behaviour. Can anyone shed any light
on this behaviour? Is it what you would expect?

Is Openmap code responsible for passing the mouse events to the mouse mode
code (if so where should I look) or is this handled by standard java?

Regards,

Matthew Hedges
Software Engineer - RLM Systems

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Thu Sep 20 04:36:21 2001

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:31 EDT