Topic: 关于鼠标右击事件的响应 |
Print this page |
1.关于鼠标右击事件的响应 | Copy to clipboard |
Posted by: honglei Posted on: 2005-08-01 08:07 我是java初学者,请问各位大侠怎么来响应鼠标右击事件呢? 我是想通过鼠标右击弹出一个菜单. |
2.Re:关于鼠标右击事件的响应 [Re: honglei] | Copy to clipboard |
Posted by: kavinwang Posted on: 2005-08-01 08:48 在鼠标事件的实现中生成一个popup menu,然后添加menuitem,最后显示出来就可以了! |
3.Re:关于鼠标右击事件的响应 [Re: honglei] | Copy to clipboard |
Posted by: Reeves1016 Posted on: 2005-08-01 19:16 mouseevent.getButton() Returns which, if any, of the mouse buttons has changed state |
4.Re:关于鼠标右击事件的响应 [Re: honglei] | Copy to clipboard |
Posted by: modery Posted on: 2005-08-13 15:24 set Component add MouseListeber |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |