Java SWT: How permanent call once and once the click event on long click? (works with enter key pressed instead of mouse click)

Having a "next" Button, when I press enter key with the button selected, the widgetSelected event of the buton is being called once and once and doing a fast next behaviour on my registers. When trying to do the same long press with the mouse click, the behaviour is not the same, it only makes one event call, and when the click is over.

How to simulate the same fast next behaviour with infinite calls during the long press of my enter key but with the mouse click?

Button button = new...

Read More »

By: StackOverFlow - Tuesday, 6 November

Related Posts