Assistance with a GUI to send and receive messages/datagrams: no server
up vote
0
down vote
favorite
This is the code to do this through the console, but my mission is to develop a GUI using the methods already provided in my Socket class. This is not a client/server app. I am stuck nowhere near the light with the little knowledge I posses using JFrame implementing ActionListeners to have a decent GUI for this project. I must declare up front through the GUI to what IP address the message is going (socket will be unique at 64000 for outgoing and incoming messages) and display the messages sent and received on different chat windows (frames) for each IP address that connects to me or that I connect to. I know I need a potential JTextField for the IP address where the message is going, another JTextField for the message being sent, a JTextArea for the messages coming in and going out to be displayed, a JB...