开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜