Hi there.
I'm trying to create a ticks scale in SWT, where you can choose between 5 levels. Something similar to this:

How to create a Ticks Scale in SWT? I need a switch that "jumps", not "slides"...-scaleexample.png
(Ignore the volume label)

Where you can jump the switch from one level to another (but not in between levels).

The closest thing I could come is with is this:

Java Code:
public class Gui {

	public static void main(String[] args) {
		Gui g = new Gui();

	private Shell shell;
	private Display display;

	public Gui() {
		display = new Display();
		shell = new Shell(display);
		shell.setSize(250, 250);

		// Scale
		Scale levels_scale = new Scale(shell, SWT.BALLOON | SWT.CENTER);


	public void run() {
		// Set up the event loop.
		while (!shell.isDisposed()) {
			if (!display.readAndDispatch()) {
				// If no more entries in the event queue
But this does not produce the desired output:

How to create a Ticks Scale in SWT? I need a switch that "jumps", not "slides"...-sssss.png

Actually you can't see it from the picture, but the slider slides smoothly from right to left and vice versa, instead of "jumping" from level to level.
In other words, I want a "jumper", and all I could find is "slider".
Can it be done, or this is the only option offered by SWT?

Any help would be greatly appreciated!
Thanks in advance.