Carlos Valderrama wrote:
In wich I want the user of the server side to start the server and fill the value of a jTextfield. then that value will be taken and sent to the clients when they remotely invoke the method.
From the client point of view, they just need the IP or hostname and the port to connect. Nothing else.
What is the JTextField for? If it's for a DB file or similar, yes but you not need to enter the IP per se. Maybe the port (default 1099 if I remember correctly).
Assume you can "sent this JTextfield's value" to the client, you can't control when the client will connect. It's like send some value to outer space.
Let me try to explain myself a litte bit more clearly:
Here is the code of the server side, I need to type and/or change the value of the jTextfield whenever I want , but that value doesn't get updated and sent to the clients, ( as i said the method seems to be working cause if i prefill the jtextfield before compilation the jtextfield value that string gets correctly sent to the clients)