摘要: public class JTextAreaTest extends JFrame{ public JTextAreaTest() { // TODO Auto-generated constructor stub setSize(200,100); setTitle("定义自动换行的文本域"); setDefaultCloseOperation(... 阅读全文
posted @ 2019-03-23 15:18 小小超plus 阅读(260) 评论(0) 推荐(0) 编辑
摘要: public class asd extends JFrame{ public asd() { // TODO Auto-generated constructor stub Container c = getContentPane(); setVisible(true); setSize(300,200); setDefaultClos... 阅读全文
posted @ 2019-03-23 14:55 小小超plus 阅读(187) 评论(0) 推荐(0) 编辑
摘要: public class JTextFieldTest extends JFrame { public JTextFieldTest() { // TODO Auto-generated constructor stub Container c = getContentPane(); setLayout(new FlowLayout())... 阅读全文
posted @ 2019-03-23 14:50 小小超plus 阅读(181) 评论(0) 推荐(0) 编辑
摘要: public class JComboBoxMode1Test extends JFrame{ private static final long serialVersionUID = 1L; JComboBox jc = new JComboBox(new MyComboBox()); JLabel jl = new JLabel("请选择证件:"); publ... 阅读全文
posted @ 2019-03-23 13:56 小小超plus 阅读(239) 评论(0) 推荐(0) 编辑
摘要: public class CheckBoxTest extends JFrame{ private static final long serialVersionUID = 1L; private JPanel panel1 = new JPanel(); private JPanel panel2 阅读全文
posted @ 2019-03-23 13:09 小小超plus 阅读(421) 评论(0) 推荐(0) 编辑
摘要: public class asd extends JFrame{ public asd() { // TODO Auto-generated constructor stub Container c = getContentPane(); setLayout(new GridLayout(2,2,5,5)); JRadio... 阅读全文
posted @ 2019-03-23 12:35 小小超plus 阅读(233) 评论(0) 推荐(0) 编辑