摘要: package MYSQK.example01; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; /** * 卡片... 阅读全文
posted @ 2018-11-24 22:52 sunnybowen 阅读(383) 评论(0) 推荐(0) 编辑
摘要: package MYSQK.example01; import java.awt.*; /** * 网络包布局管理器 */ class Layout extends Frame{ public Layout(String title){ GridBagLayout layout = new GridBagLayout(); GridBa... 阅读全文
posted @ 2018-11-24 21:35 sunnybowen 阅读(219) 评论(0) 推荐(0) 编辑
摘要: package MYSQK.example01; import java.awt.*; public class example01 { public static void main(String[] args){ // 设置窗体名称 Frame f= new Frame("GridLayout"); // 设置窗体中的布局管理器,Grid... 阅读全文
posted @ 2018-11-24 18:30 sunnybowen 阅读(236) 评论(0) 推荐(0) 编辑