Cline Server Chat program in java:
Java program that enables two users to chat. Using GUIs implement one user as the server and the other as the client. The server has two text areas: one for entering text and the other (noneditable) for displaying text received from the client. The client has two text areas: one for receiving a text from the server and the other for entering text. When the user presses the enter key, the current line is sent to the server or client.