[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

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

Posted on 2000-04-13
3
Medium Priority
?
276 Views
Last Modified: 2008-03-03
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
0
Comment
Question by:bustany
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 16

Accepted Solution

by:
heyhey_ earned 300 total points
ID: 2714884
hmmmm



- Class JSlider -

public boolean getValueIsAdjusting()

True if the slider knob is being dragged.

Returns:

the value of the models valueIsAdjusting property


0
 

Author Comment

by:bustany
ID: 2716726
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.
0
 
LVL 16

Expert Comment

by:heyhey_
ID: 2718703
thanks for the points :)

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

:)
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn different types of Android Layout and some basics of an Android App.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question