1 <p> This method compares an expression such as
2 <pre>((event.detail & SWT.SELECTED) > 0)</pre>.
3 Using bit arithmetic and then comparing with the greater than operator can
4 lead to unexpected results (of course depending on the value of
5 SWT.SELECTED). If SWT.SELECTED is a negative number, this is a candidate
6 for a bug. Even when SWT.SELECTED is not negative, it seems good practice
7 to use '!= 0' instead of '> 0'.
10 <em>Boris Bokowski</em>