hi ranchers,
i am developing a rmi_based application in
java in which client side chooses a 5 number and send it to server. This is more of a designing problem.
LottoClient{
setGui() :
create a gui interface and add listener classes for buttons("ok"). Client enters 5 number in 5 text fields and clicks "ok" button. when ok is clicked
actionPerformed() of ClientListener class is invoked.This is where i have all the number entered by client and have created a list of them
sendList(List list) :
send list of numbers to server.
}
now the question is
how can i get the number list form
actionPerformed() of ClientListener in LottoClient and thereby send it to server