Link to home
Start Free TrialLog in
Avatar of bustany
bustanyFlag for United States of America

asked on

Need "e.getValueIsAdjusting()" for JSlider (it does not have it!!)

Java App using Java 1.2 (including Swing)
NT 4.0 + SP6


I'm using a JSlider to increase/decrease a number of threads.  The problem is I don't want to change the count of the threads until the user has finished adjusting the slider (by lifting her finger off the mouse button).  

Currently, I'm having to adjust the threads for every single Slider value change (as the user is moving the cursor) and that's causing too many problems and delays.

How can I have the getValueIsAdjusting() (such as the one found in ListSelectionEvent as an example).

Thank you
ASKER CERTIFIED SOLUTION
Avatar of heyhey_
heyhey_

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bustany

ASKER

heyhey,

i don't know how i overlooked this!!!!

i've been away from java for some time and was getting rusty.  

more difficult questions to follow...

thanks for the response.
Avatar of heyhey_
heyhey_

thanks for the points :)

get a nice searchable WinHelp Java help from
http://www.confluent.fr/javadoc

:)