Topic: 在actionPerformed(ActionEvent e){}里面怎么创建与e.getSource()等价的按钮 |
Print this page |
1.在actionPerformed(ActionEvent e){}里面怎么创建与e.getSource()等价的按钮 | Copy to clipboard |
Posted by: ysonic Posted on: 2005-06-16 15:39 在actionPerformed(ActionEvent e){}里面怎么创建button,这个 button等价与 e.getSource()。 |
2.Re:在actionPerformed(ActionEvent e){}里面怎么创建与e.getSource()等价的按钮 [Re: ysonic] | Copy to clipboard |
Posted by: ysonic Posted on: 2005-06-16 21:52 找到了,顺便告诉大家 JButton b=(JButton)e.getSource(); |
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 |