private void login()
	{
		String user=tfUserid.getText();
		String pass=new String(tfPassword.getPassword());
		//System.out.println("User:"+user+",Pass:"+pass);
		
		
		if(idcheck(user,pass))
		{
			success=true;
			setVisible(false);
			UserSetting.userid=user;
			UserSetting.username=user;
			EventQueue.invokeLater(new Runnable() {
				public void run() {
					try {
						ChatClientMain frame = new ChatClientMain();
						frame.t.send("[ROOM]");
						frame.t.send("[USER]");
						frame.setVisible(true);
					} catch (Exception e) {
						e.printStackTrace();
					}
				}
			});
		}
		else
		{
			success=false;
			setVisible(false);
			System.exit(0);
		}
	}