Hello friends Well, I have created a client and server program using awt. It's working fine but not according to what I want. I mean, I am typing in TextField and later when I press send button it sends the message from client to server but till I don't press button in server the message is not displayed. As I have taken action on button and the whole process of passing data is written in actionPerformed method. Get me some solution so that as soon as I press send button from client the message is instantly displayed in server application Thanking you in anticipation.