Forget about Eclipse or SWT.
I have just executed the XLock class replacing the breakpoint with a Thread.sleep(5000). I ran it in a terminal with "$ java xlock.XLock". For five seconds, all clicks on the screen or strokes on the keyboard are ignored.
Forget about Eclipse or SWT.
I have just executed the XLock class replacing the breakpoint with a Thread.sleep(5000). I ran it in a terminal with "$ java xlock.XLock". For five seconds, all clicks on the screen or strokes on the keyboard are ignored.