public void frame()
{
this.frame = new JFrame("用户注册");
//窗体基本属性
this.frame.setSize(600, 400);
this.frame.setLocationRelativeTo(null);
this.frame.setVisible(true);
this.frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
//设置主面板,相当于外层div
JPanel jp = new JPanel(new BorderLayout());
//东西南北中,面板
JPanel jp1 = new JPanel(new FlowLayout());
JPanel jp2 = new JPanel(new FlowLayout());
JPanel jp3 = new JPanel(new GridLayout(10,2));
JPanel jp4 = new JPanel(new FlowLayout());
JPanel jp5 = new JPanel(new FlowLayout());
//加入主面板
jp.add(BorderLayout.NORTH,jp1);
jp.add(BorderLayout.SOUTH,jp2);
jp.add(BorderLayout.CENTER,jp3);
jp.add(BorderLayout.EAST,jp4);
jp.add(BorderLayout.WEST,jp5);
//标题
JLabel