Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Java SE 综合讨论区  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 关于控件的事件监听
diystar





发贴: 57
积分: 20
于 2003-04-02 14:31 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
若一个控件添加许多相同的事件监听,如:FocusListener
它们的执行顺序是否与添加顺序相同



作者 Re:关于控件的事件监听 [Re:diystar]
烂泥





发贴: 538
积分: 72
于 2003-04-02 14:54 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
无关!


作者 Re:关于控件的事件监听 [Re:diystar]
diystar





发贴: 57
积分: 20
于 2003-04-02 15:29 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
那事件监听的执行顺序有什么规律吗?因为我希望在JFormattedTextField上添加的FocusListener监听执行顺序在它的数据有效提交之后


作者 Re:关于控件的事件监听 [Re:diystar]
jiangns3000



发贴: 0
积分: 0
于 2003-04-02 19:28 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我的想法是这样:
“事件监听的执行顺序有什么规律吗?“,不要去寻找这个规律(我想可能不存在)。建议从JFormattedTextField继承,从而定制这个新的子类,使它具有你要的能力(即检查数据有效提交之后再执行。 )




flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   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