Question

Hello fellow Stackoverflownians,

I am in need of your assistance: I am developing an Eclipse RCP application, and am having issues with understanding how to get the maximum time allowed between clicks to constitute a double click.

How can I get the OS time needed until a second click to constitute a "double click"?

Or maybe this can be attained via SWT?

I've seen the AWT version here.

Integer timerinterval = (Integer) Toolkit.getDefaultToolkit().getDesktopProperty("awt.multiClickInterval");

Thanks!

Was it helpful?

Solution

As pointed out in the comments, the AWT solution will suffice.

Thanks guys!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top