Hi,
i do not have pretty much experience in Java....and needs to create a messenger where client can send/receive messages. i created server and client...multiple client can connect to server and can pass messages too but , i dont know how to send those messages to client rather then sending to server....

How and where can i display the connected clients on form (do i need to create separate class ...)?

Can i run run the server through a button..if yes then in action code what do i need to write ...either class name ....or what..?

Please help me