阅读背景:

如何在NetBeans中删除actionPerformed方法

来源:互联网 

When a JButton is added to a content pane, we can set an action by double clicking the button or Right click->Event->Action->actionPerformed.Let say, we set somthing to happen. Then we need to remove that function.It can be done easily by deleting the code we wrote in that buttton's actionPerformed. But the problem is, that button's actionPerformed method is still there even though it is not used any more and not needed. is added to a content pane, we c




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

分享到: