• Post Reply Bookmark Topic Watch Topic
  • New Topic

dependency between gui listener event and other task  RSS feed

Ranch Hand
Posts: 384
Java MyEclipse IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.


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

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!