设为首页 加入收藏

TOP

Java中ActionEvent不使用内部类
2014-11-24 14:43:52 来源: 作者: 【 】 浏览:14
Tags:Java ActionEvent 使用 部类

This program shows mainly how to add the events to the buttons. Normally we use the internal class, but this example does not use it. Instead, it uses a bloc "actionPerformed" that enables a couple of buttons to call it. To determine on which button the action event occurred, we use e.getSource().



】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇iOS中改变navigationBar的背景图.. 下一篇Java实现一个登录窗体功能

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: