I want to create a bar with a value. If i move the circle, then the value in the field should change. How can i do this?
Here is the screen shot. How can i achieve this?
Something similar to this is also ok. Please help me with this.
Thank you in advance 🙂

SpinSlidermay be a useful example.Addendum: Here’s an example using a suitable format string for
JSpinner.NumberEditor.Addendum: You can change the color of the slider by overriding
paintTrack(), as shown here.