由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - Re: FileDialog 的问题
相关主题
swing question求教
第十章 编程实例AWT tooltip?
Top Ten Errors Java Programmers Make(9)simple swing question
Re: AWT 和 SWING 在程序应用中有什么区别?Question: OutOfMemoryError when drawImag
Re: AWT和SWING到底有什么不同?Consuming mouse event messages?
How about Swing?help: where to download JAVA/swing? (转载)
question about repaint, update and paintJ2EE入门
求助Java Image Tools or API有没有类似MS Visual Studio的Java IDE?
相关话题的讨论汇总
话题: filedialog话题: frame话题: public话题: class话题: program
进入Java版参与讨论
1 (共1页)
m***a
发帖数: 198
1
I was in a similiar situation before. Well it has nothing
specific to class FileDialog. Once you are using any AWT
resources, like a Frame or Window or Dialog, an "Screen
Updater"
thread will be running. There is no other
way of killing it other than system.exit as I know of.
Try the simplified example 1 and 2:
#1 program will exit
public class OpenDialog {
public static void main(String [] args) {
Frame fm = new Frame();
fm.dispose();
System.out.println("End of program\n");
}
}
#2
1 (共1页)
进入Java版参与讨论
相关主题
有没有类似MS Visual Studio的Java IDE?Re: AWT和SWING到底有什么不同?
问个进度条的问题How about Swing?
[转帖]如何才算掌握Java(J2SE篇)question about repaint, update and paint
Intellij Idea gui not pure Swing?求助Java Image Tools or API
swing question求教
第十章 编程实例AWT tooltip?
Top Ten Errors Java Programmers Make(9)simple swing question
Re: AWT 和 SWING 在程序应用中有什么区别?Question: OutOfMemoryError when drawImag
相关话题的讨论汇总
话题: filedialog话题: frame话题: public话题: class话题: program