开发者

how to change knob's image of Jslider on mouseover and mouse pressed?

开发者 https://www.devze.com 2023-01-23 02:20 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号