I wrote a java swing application and it has some simple specifications. These are the specifications:
- From very beginning of the application it has a privilege to add to the system tray.
- The application never exit when Main
JFrame
is closed. It means, it is still running.
Now my problem is how to check it is still running or not and if it is running, how could I run Timer
inside it?
Do you, Java experts have any ideas about this problem?