Project: SWT
Bug 107243 Scrollbar.setValues silently does nothing
Reported: 2005-08-17 13:47:34 | Status: resolved fixed

if one of the 6 values in setValues is not valid, setValues returns without doing anything. This is not the equivalent of calling the methods separately, which is what the javadoc states. For example, if "increment" is 0, all values are ignored.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ScrollBar.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Slider.java