How to maximize java swing application

Posted by Sunil Kumar Sahoo on Stack Overflow See other posts from Stack Overflow or by Sunil Kumar Sahoo
Published on 2010-04-14T14:10:38Z Indexed on 2010/04/14 14:13 UTC
Read the original article Hit count: 289

Filed under:
|

Hi All, I have created a login page using java swing. and i created jar for the application. Now when I run the jar then my login page is displayed then i minimize the application and again run the jar then another instance of my application is displayed (means now in my system I have two login page. 1 is in minimized format and another is in normal state.

But I want that if in my system login page is already running and is minimized then if i run the jar once again then it will not start as a new application rather it should maximize the earlier login page.

How to achieve this type of functionality ?

please help me

Thanks Sunil Kumar Sahoo

© Stack Overflow or respective owner

Related posts about java

Related posts about swing