changing the outfit of the setting knob ofJSliders???
posted 14 years ago
I have a problem with the outfit of JSliders. The setting knob of the basic JSlider is too big for my application. The width of the JSlider must be smaller than 10px. But then my setting knob is cut off on both sides. I tried to change the setting knob by creating a SliderUI and painting an oval in the paint()-methode, but then I could not set values anymore. The oval had a confirmed position. How can I change the setting knob? Does somebody knows a way? PLEASE WRITE. Thank you very much!