I am having a Login screen demanding username and password to Login to a desktop application in java.
Now my problem is that suppose their are 2 or more users at the same time using my desktop application.Means their are two or more threads running at one time Now how to ensure that multiple clients access the server concurrently ?
I need to visualise it by printing which thread is running at present time.
So could anyone help me to do this