How to get input from server console in a client server program
问题 I have implemented a customer interface using java (multithreaded). On the client side customer logs in when the server is already running. Multiple clients can login creating a thread for each client. What I want to achieve is when multiple clients are logged in I want to enter a command in server console(eclipse) that lists all the clients logged in after i input something on console. ClientSide of the code: btnLogin.addActionListener(new ActionListener() { @Override public void