摘要: final JTextField jt = new JTextField(); jt.getText().trim().toString(); 阅读全文
posted @ 2019-03-24 15:28 小小超plus 阅读(755) 评论(0) 推荐(0) 编辑
摘要: public class asd extends JFrame { public asd() { // TODO Auto-generated constructor stub Container c = getContentPane(); setLayout(new GridLayout(3, 1 阅读全文
posted @ 2019-03-24 15:27 小小超plus 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 原链接:https://blog.csdn.net/y786256773/article/details/80670084 阅读全文
posted @ 2019-03-24 14:40 小小超plus 阅读(126) 评论(0) 推荐(0) 编辑
摘要: public class asd extends JFrame{ public asd() { // TODO Auto-generated constructor stub Container c = getContentPane(); setDefaultCloseOperation(Windo 阅读全文
posted @ 2019-03-24 13:47 小小超plus 阅读(194) 评论(0) 推荐(0) 编辑
摘要: public class SimpleEvent extends JFrame{ private JButton jb = new JButton("我是按钮,单击我"); public SimpleEvent() { // TODO Auto-generated constructor stub setLayout(null); ... 阅读全文
posted @ 2019-03-24 13:15 小小超plus 阅读(340) 评论(0) 推荐(0) 编辑