If you create a Slider
(org.eclipse.swt.widgets.Slider) then call getMaximum()
on it, the value is 100. But when you actually try dragging the Slider to its maximum value, it only reaches 90.
I can work round this problem:
sl.setSelection(sl.getMaximum()); // sl.getMaximum() is 100
int actualMax = sl.getSelection(); // should be 100, but is actually 90
But something definitely seems to be wrong, no?