Solved

Mouse Double click over an image or object 4 a specific event. How?

Posted on 1998-02-13
1
161 Views
Last Modified: 2010-04-16
Hi, How could I identify a mouse double click over an image or object as a specific event ?. For example:

  single click over an image or object ---> in order to do a
                                            thing.

  double click over an image or object ---> in order to do
                                            another thing.

  Thanks.
0
Comment
Question by:Deladier
1 Comment
 
LVL 1

Accepted Solution

by:
froderik earned 0 total points
Comment Utility
For 5 points I suggest looking at the MouseEvent class to see whether you can find out if a MouseEvent is double or not.

If you already know how to handle event it should not be so hard to find out.

(In case you increase the points it would be interesting to know which event model you use, 1.0 or 1.1.)
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now