0

I need to change knob's image of Jslider on mouse over and mouse pressed over it.

Please tell me how can i do this.

Thanks Jyoti

Jyoti
  • 1,965
  • 3
  • 24
  • 28
  • This is your 4th posting on this topic. You never bother to reply when you get a suggestion. You never bother to post a SSCCE. I've made an effort on two previous questions but I won't be fooled this time into help you. – camickr Oct 29 '10 at 03:54

1 Answers1

1

Implement a MouseListener and handle the mouse pressed/released events, and mouse entered/exited events. For the pressed/entered events change your component as desired, and for released/exited, change it back.

Lawrence Dol
  • 61,437
  • 25
  • 136
  • 186
  • Thanks for the reply. i have done the coding as mentioned n this link. http://stackoverflow.com/questions/4042527/how-to-put-an-image-over-jsliders-knob-image-when-mouse-is-present-over-the-knob. But onmouseover there is no change on knob's image. Could you please explain with some code snippet. – Jyoti Oct 29 '10 at 04:32