• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

dependency between gui listener event and other task

 
Ranch Hand
Posts: 384
MyEclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

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



 
reply
    Bookmark Topic Watch Topic
  • New Topic