Hello,
I need your help again guys. I am trying to make a pop up form name setIPInterface (when the user click on a button in the form "ClientInterface"), for a user to input an ip address in a textfield and when the user click on the button "Set", the value of the textfield will be send to a method named "setIP()" found in another class named "Client()".
The code of the button "Set":
theClient.setIPAddress(txtIPAddress.getText());
theClient is an instance of the class Client.
but I've got the following error:
java:75: cannot find symbol
symbol : variable theClient
location: class ignisv10.SetIP
theClient.setIPAddress(txtIPAddress.getText());
1 error
Note that the instance "theClient" have already been instantiated in the form "ClientInterface". The user clicks on the button which is found on the ClientInterface form then another form will pop up named "setIPInterface".
Thanks in advance for your help.