문제

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!

도움이 되었습니까?

해결책

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

Thanks guys!

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top