public void actionPerformed(ActionEvent ae){
			String message = jtxtfldEnterMessage.getText();
			if(validateMessage(message)){
				ChatMessage chatMessage = new ChatMessage(user.getNick(), user.getID(), channel.getChannelID(), jtxtfldEnterMessage.getText());
				writtenMessages.add(chatMessage);
				jtxtfldEnterMessage.setText("");
				lastMessage = message;
			}
		}