Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

manage buttons with request to and from server  RSS feed

 
Vijay Bhuruk
Ranch Hand
Posts: 31
MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my application have a frame with seven buttons i.e login,ready,notready,call,releasecall,logout,cancel at client side.
when i click on button a request is sent to server.
client process request and send response back to client.
on the basis of response received read write buttons are enabled.
i don't know how to code this in Swing.
can anybody please tell me in details how to use threading in this scenario?

Thanks in advance.








 
Campbell Ritchie
Sheriff
Posts: 55333
157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vijay Bhuruk wrote:i don't know how to code this in Swing.
can anybody please tell me in details how to use threading in this scenario?
No.

We don't hand out ready-made answers but expect people to do the work. When you have something, tell us what you think and we shall be happy to look at it. Even if it is sketchy and skeletal.
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can start with this
 
Vijay Bhuruk
Ranch Hand
Posts: 31
MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Maneesh Bhau

Well begun is half done.
I just wanted you to help me in 'Right begining' to do work.

Campbell Ritchie,I will take care now onwards.Thanks much.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!