Swing code in sockets

Posted by asb on Stack Overflow See other posts from Stack Overflow or by asb
Published on 2010-03-07T12:27:26Z Indexed on 2010/05/04 14:38 UTC
Read the original article Hit count: 230

Filed under:
|
|

I am learning swings for making GUI. I was thinking which is the best possible way in case of socket with swings. 1. The whole swing code goes in the server file. All the handlers and logic in on server side. Client only create socket. 2. The server have logic part. The code for the swing to display interface goes on client side. Client Creates stream to send / rec. data from server.

Whch is the good way out of 2 ?

© Stack Overflow or respective owner

Related posts about java

Related posts about swing