Swing中三种顶层容器 JApplet:小应用程序类JDialog:和jFrame类似,用来设计对话框JFrame:用来设计类似于Window系统中的窗口形式的应用程序JWindow 中间容器 JPanel