Modifying JSlider properties

Hi guys I need help with the modification of the JSlider and its reaction to mouse click-and-drag events. You see I'm using one as a seek bar for a media player I'm creating, and I only want the user to be able to move the knob if they specifically click and dragit - not anywhere else on the slider. Here is a question I found in the archived threads while searching the forums that rewords my exact question that nobody answered if you need to read it from another perspective: http://forum.java.sun.com/thread.jspa?forumID=257&threadID=271857

Any help will be appreciated! Thanks!

[610 byte] By [Jason102a] at [2007-10-3 9:22:26]
# 1
[url http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JSlider.html]JSlider[/url]If you look at that link, youll find that there is a getValueIsAdjusting() method that returns true if the slider is being dragged. You might be able to figure something out with that.
CaptainMorgan08a at 2007-7-15 4:36:05 > top of Java-index,Desktop,Core GUI APIs...
# 2
replies at the end of this thread might give you some ideas http://forum.java.sun.com/thread.jspa?threadID=594976
Michael_Dunna at 2007-7-15 4:36:05 > top of Java-index,Desktop,Core GUI APIs...
# 3
Yep thats exactly what I wanted it to do. You truly "are like the JSlider guru!" ;-) Thanks again for the help.
Jason102a at 2007-7-15 4:36:05 > top of Java-index,Desktop,Core GUI APIs...