I am having a problem, I want to transfer the data from a text field which is found in the class "ServerInterface" to a method in another class "Server".
I wanted to transfer data to the method "sendData()" in the class Server when the user enter data in the textfield "txtSendMessage" and click on the button "btnSend" found in ServerInterface.
I am new to Java and Socktet programming, the thing is that I have finally managed to understand socket programming after lots of hard work but my problem is that I am unable to merge my interface with the other class, could you please help me on this please.
I am send the two class as attachment.
Thanks in advance.