Show popup to specific Windows account
Posted on 2008-10-23
I have developed a Java server-application... it is always listening to a port and when another application hits that port, my application prompts a JFrame (popup).
The problem we are having now is with Windows 2003 Terminal Server. If I start running my Java-server application using Administrator (Windows account) my Java-server application will always show the popup to Administrator user. If I use other Windows account (e.g. student) while my application is still running under Administrator Windows account, the popup window stills displaying at the Administrator user account.
I need the popup on the correct Windows account. The Java-server application (which shows the popup) knows which Windows user needs to receive the popup. But if it is running under Administrator, it will always display it to Administrator account and not to the one that needs to receive the popup.
I have tried running my Java-server application under SYSTEM account and still does not work.
How can I display that popup to that specific Windows account ?
Thank you very much.