though the method getClickCount() returns the number of mouse clicks associated with the MouseEvent, how it decides it as double-click? is there any time based mechanism to calculate it, such as the maximum time elapsed between two clicks? plz, post ur ideas/explanations in a step of further explaining it, in detail. thank u.
posted 13 years ago
Hi, Ya there is getClickCount() method in MouseEvent. You can determine no of clicks through this method if(mouseEvent.getClickCount() == 2) statements