Search code examples
javawidgetswtskin

How to get the skin of an SWT widget?


I want to create an SWT Scale widget with two/multiple thumbs. The problem is that I want it to have the native skin on each platform and not a custom made skin.

Practically, I want to get the skin of every component of the widget and draw them myself.

Any ideas how to do that, or maybe an alternate solution?

Thanks!


Solution

  • SWT widgets don't have skins (as Swing widgets do), they are drawn by the native windowing toolkit (Win32, Gtk+, etc.).