posted 15 years ago
Hello to all ranchers,
My desktop application is a JFrame and I want only one instance of my application to run at a time and so far i have been successful.
I used file locking mechanism to check if the lock on the file exists and it it does exists then I am stopping another instance of JFrame to load.
But when I minimize the first instance i want that first instance of JFrame to be maximized or you can say setVisible(true).
Does any one have any idea how can i do this?
Thanks