Topic: [求助]两个窗口间数据传递 |
Print this page |
1.[求助]两个窗口间数据传递 | Copy to clipboard |
Posted by: Jcat Posted on: 2005-11-11 19:32 同题,我觉得应该用自定义消息来解决这个问题,可是自己弄了半天也没成功。谁能给我个例子让我研究一下? (比如,窗口1中点击按钮,窗口2中的文本框发生变化) |
2.Re:[求助]两个窗口间数据传递 [Re: Jcat] | Copy to clipboard |
Posted by: Jcat Posted on: 2005-11-13 19:21 期待1 |
3.Re:[求助]两个窗口间数据传递 [Re: Jcat] | Copy to clipboard |
Posted by: nicholastse0303 Posted on: 2005-11-20 18:29 我看可以研究下java的api中的JFilechoosor JcolorChoosor,在这里面点击确定按钮,主窗口都会响应的.不过我前几天写个JFontChoosor就有点问题.一起讨论下吧,我也想解决这个问题 |
4.Re:[求助]两个窗口间数据传递 [Re: Jcat] | Copy to clipboard |
Posted by: Jcat Posted on: 2005-11-21 17:36 我又想了个“偏方” 在窗口1中创建窗口2时,将窗口1的reference作为参数,由构造函数传递给窗口2 class A extends Frame{ |
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 |