public void run() {
		try{
			while (beConnected){
				String str=dis.readUTF();//读取服务器的信息
				if (str.length() >= CommonUtil.USER_LIST.length() && str.substring(0, CommonUtil.USER_LIST.length()).equals(CommonUtil.USER_LIST)) {
					String userList = str.substring(CommonUtil.USER_LIST.length());//更新用户列表
					talkList.setText(userList);
				} else {
					taContent.setText(taContent.getText()+str+'\n');//更新聊天内容
				}
			}
		} catch (SocketException e) {
			this.showReturnMessage(CommonUtil.SOCKET_ERROR);
		} catch (EOFException e) {
			this.showReturnMessage(CommonUtil.SOCKET_ERROR);
		} catch(IOException e){
			this.showReturnMessage(CommonUtil.IOEXCEPTION_MESSAGE);
		} 
	}