Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

changing the outfit of the setting knob ofJSliders???

Sven Habermann
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
Thank you very much!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic