This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

changing the outfit of the setting knob ofJSliders???  RSS feed

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
Boost this thread!