0

The title pretty much explains my question.

I'm adding a URL to an image that explains my question better just in case i'm not clear.

I think I'm missing some obvious method, maybe you guys could help. Thanks.

enter image description here

Extreme Coders
  • 3,441
  • 2
  • 39
  • 55
ChicoDelaBarrio
  • 171
  • 2
  • 11
  • `I think I'm missing some obvious method,` - how about the constructor for the JSlider. It allows you to specify the min, max, initial values. – camickr Nov 01 '13 at 15:01

1 Answers1

3

Call slider.setValue(0); after you have initialized it and probably before you add it

Make sure you have a read through How to use sliders for more details

MadProgrammer
  • 343,457
  • 22
  • 230
  • 366
  • +1 for the tutorial link. Its shows how to specify the min, max, initial values when you create the JSlider. – camickr Nov 01 '13 at 15:02