Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Java Assignment You will be implementing a text messaging application. You will have a seperate window for each person you are communicating with. The window
Java Assignment
You will be implementing a text messaging application. You will have a seperate window for each person you are communicating with. The window wil have as a title the IP address and port number of the person you are messaging with. You will have a main window that allows you to initiate messaging sessions with other people based on their IP address and port number. Once you initiate a new messaging session, you will create a new window for that session. This window should also have a button to exit the program. You will still have the eceiving Thread which will handle all the incoming messages. However, your code will also keep track of the source IP addresses and port number along with the window containing that messaging session. If the source IP address and port number combination is a new one, you will have to open a new messaging window. Otherwise, the incoming message will be displayed in the existing window for that source IP address Each window will have the following components 1. The title of the window should be the IP address and port number of the other side of the messaging session. 2. A section to display the messaging interaction. This window should contain the messages from both you and the person you are messaging with. 3. A section for you to type your reply. 4. A button to send your reply. 5. A button the close and end the messaging sessionStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started