How to implement a single instance Java application?

后端 未结 17 1010
北荒
北荒 2020-11-22 04:32

Sometime I see many application such as msn, windows media player etc that are single instance applications (when user executes while application is running a new applicatio

17条回答
  •  日久生厌
    2020-11-22 04:47

    ManagementFactory class supported in J2SE 5.0 or later detail

    but now i use J2SE 1.4 and I found this one http://audiprimadhanty.wordpress.com/2008/06/30/ensuring-one-instance-of-application-running-at-one-time/ but I never test. What do you think about it?

提交回复
热议问题