I need to get the thumb icon which is used to select range in Jslider. How to get only the thumb icon from Jslider?
Asked
Active
Viewed 745 times
1 Answers
3
Something like:
UIDefaults defaults = UIManager.getDefaults();
Icon icon = defaults.getIcon("Slider.horizontalThumbIcon");

Tim Lloyd
- 37,954
- 10
- 100
- 130
-
Unfortunately, that only works for some LAFs--many of them draw the icon dynamically. – Michael Brewer-Davis Jan 05 '11 at 07:36
-
@Michael My first thought was "Print Screen" but I thought that was a bit dry at the time, maybe not so. :) – Tim Lloyd Jan 05 '11 at 07:39