Question

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

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top