作者TonyQ (骨头)
看板java
标题Re: [问题] 请问Frame关闭的功能
时间Sun Jun 25 11:10:12 2006
※ 引述《Egriawei (断背山狼与羊)》之铭言:
: ※ 引述《TonyQ (骨头)》之铭言:
: 现在可以使用了,谢谢:)
: 不过补充一下
: 我监听事件的只有Frame里面的元件
: 但是监听器里面似乎不能用getContentPane().setVisible(false)
因为contentpane是frame内部的容器
而不是frame
框的本体 :)
: 否则只是将我的Frame清空但是Frame还是在
: 我有特地宣告Frame的getContentPane() cp来试也是一样
: 结果都是清空Frame内有监听此事件的元件
: 这点我就不太清楚了
--
String temp="relax"; | Life just like programing
while(buringlife) String.forgot(temp); | to be right or wrong
while(sleeping) brain.setMemoryOut(); | need not to say
stack.push(life.running); | the complier will
stack.push(scouting.buck()); | answer your life
stack.push(bowling.pratice()); | Bone
everything
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.138.240.58