I have java desktop application.
when user click on the shortcut of the application it create single instance that shown in task bar (Project.exe) but when the user again click then it create another instance but i do not want more then one instance shown in taskbar.
I want the similar behaviour when user click the Teamviewer and Skype application. It create single instance and if it already open then it fore ground to the window (means maximize it.)
But how to maximize the window if the application is already running(means minimize window should be maximize on click the application icon)?
Please provide the solution.
Thanks in advance.