Novicane All American 15416 Posts user info edit post |
My JSlider value controls my timer.
speedSlider = new JSlider(); speedSlider.setMinimum(200); speedSlider.setMaximum(1000); speedSlider.addChangeListener(this); speedSlider.setValue(1000);
But the problem, my slider is reversed. The user has to slide it to the left to speed the program up.
I want the minimum to be 1000 (slowest) and 200 to be the fastest since it is controling my intervals of my timer.2/28/2006 4:44:41 PM |