Question: Write a program that enables two users to chat using JavaFX, threads, sockets. Implement one user as the server and the other as the client.

Write a program that enables two users to chat using JavaFX, threads, sockets. Implement one user as the server and the other as the client. Refer attached image The server has two text areas: One for entering text and the other(non editable) for displaying text received from the client. When the user presses the enter key , the current line is send to the client. The client too has two text areas: One for entering text and the other(non editable) for displaying text received from the server. When the user presses the enter key , the current line is send to the server.

Write a program that enables two users to chat using JavaFX, threads,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!