阅读背景:

Java swing弹出菜单和jlist

来源:互联网 

here is my problem: I have a jList and a popup menu. When I right click the jList, the popup menu shows. The problem is that the jList item which the mouse is pointing at won't select. And I want it to do that. When I point my cursor at an item in the list and press the right button, I want two things to happen. Select the item on which I clicked and show the popup menu.here is my problem: I have a jList and a popup




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: