public void showLoginUI()throws Exception{
		 jf_login=new javax.swing.JFrame("javaKe½:");
		java.awt.FlowLayout fl=new java.awt.FlowLayout();
		jf_login.setLayout(fl);
		jf_login.setSize(200,160);
		//jk,ʽΪֻ
		MaskFormatter mfName=new MaskFormatter("##########");
		jta_jkNum=new JFormattedTextField( );
		 mfName.install(jta_jkNum);
 		jta_jkNum.setColumns(10);
		jta_pwd=new javax.swing.JPasswordField(12);
		jta_pwd.setColumns(10);
		//ûıǩ
		JLabel la_name=new JLabel("jk :");
		JLabel la_pwd=new JLabel("  :");
		
		jf_login.add(la_name);
		jf_login.add(jta_jkNum);
		jf_login.add(la_pwd);
		jf_login.add(jta_pwd);
		
		javax.swing.JButton bu_login=new javax.swing.JButton("Login");
		bu_login.setActionCommand("login");
		javax.swing.JButton bu_Register=new javax.swing.JButton("Register");
		bu_Register.setActionCommand("reg");
		//½ע¼
		ActionListener buttonAction=new ActionListener(){
			 public void actionPerformed(ActionEvent e){
				String command=e.getActionCommand();
				if(command.equals("login")){
					loginAction(); //ִе½
				}
             if(command.equals("reg")){
            	 showRegForm();//ע
				}
			 }
		};
		bu_login.addActionListener(buttonAction);
		bu_Register.addActionListener(buttonAction);
		
		jf_login.add(bu_login);
		jf_login.add(bu_Register);
		jf_login.setLocationRelativeTo(null);//
		jf_login.setVisible(true);
	}