How to implement seek slider's working

Hi,I am trying to make a simple audio player.I want to show duration on a JSlider.But I am not able to implement when user clicks or drags the slider to new position,how to set the new position at that point.Thanks in advance
[246 byte] By [Binni_Sa] at [2007-11-26 18:41:15]
# 1
a seek slider is the hardest thing to do...you have to write a while loop before you write the line in your run function of the play thread. This loop must skip the AudiInput Stream to your seek position. Have a look at javazoom.basicplayer, where its implemented.....
hagbard23a at 2007-7-9 6:15:15 > top of Java-index,Security,Cryptography...