private void loginBtnMouseClicked(java.awt.event.MouseEvent evt) {
		Map<String, Object> map = new HashMap<String, Object>();
		map.put(Constants.USER_NO, this.userNO.getText());
		map.put(Constants.USER_PWD, String.valueOf(this.userPwd.getPassword()));
		map.put(Constants.USER_STATUS, this.status.getSelectedIndex() + 1);
		Map<String, Object> userMap = new UserDao().login(map);
		Alert dialog;
		dialog = new Alert(this, true, map);
		if (null == userMap || Constants.NUM_ZERO == userMap.size()) {
			dialog.getLabel().setText("登录失败");
			dialog.setUseFor(Constants.LOGIN_FAIL);
			dialog.setVisible(true);
		} else {
			boolean flg = false;
			try {
				new Client().setUserNO(
						String.valueOf(map.get(Constants.USER_NO))).service();
			} catch (UnknownHostException e) {
				e.printStackTrace();
				log.error("连接服务器出错");
				serverError();
				flg = true;
				return;
			} catch (IOException e) {
				e.printStackTrace();
				log.error("连接服务器出错");
				if (!flg) {
					serverError();
				}
				return;
			}
			dialog.getLabel().setText("登录成功");
			dialog.setUseFor(Constants.LOGIN_OK);
			dialog.setVisible(true);
			this.dispose();
		}
	}