Topic: 【求助】事件处理!

  Print this page

1.【求助】事件处理! Copy to clipboard
Posted by: kirk
Posted on: 2003-05-26 12:07

由一个JFrame使用protect类sub,sub里由成员JDialog,在JDialog上添加了JButton(sub的成员),JButton使用了
.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent e)
{
//处理;
}
});
但运行时,事件根本不能驱动,为什么?


   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