how to change knob's image of Jslider on mouseover and mouse pressed?
I need to change knob's image of Jslider on mouse over and mouse pressed over it.
Please tell me how开发者_如何学JAVA can i do this.
Thanks Jyoti
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.
精彩评论