Search code examples
javaswtcomposite

SWT Scale - add more bars


Is it possible to have more than one selection (bars) on the scale component? Or could someone please suggest me another component that I can use instead?

Thanks in advance!


Solution

  • The Opal project has a widget called RangeSlider.

    This lets you use 2 "bars". I don't know of anything that has more and I can't think of any scenario where you would need more than 2.

    It looks like this:

    enter image description here