AvrDragon
AvrDragon

Reputation: 7479

JSlider with two pointers

I want to give a user a convenient way to enter range from swing gui. What can I use? A perfect option would be a slider with two pointers.

Upvotes: 3

Views: 2696

Answers (2)

AvrDragon
AvrDragon

Reputation: 7479

Btw, this implementation of RangeSlider is more simple for me, but swingx stuff should work somehow too, if your implement Renderer first.

http://ernienotes.wordpress.com/2010/12/27/creating-a-java-swing-range-slider/

Upvotes: 2

KrHubert
KrHubert

Reputation: 1030

SwingX has JXMultiThumbSlider which is exactly what you're looking for.

Upvotes: 2

Related Questions