Single Application Instance

Hello all again,

-> I wish for my application to have the restriction of only be able to open up one instance (of the application) at a time.

I'm still trying to grasp how applications are kicked off in Java. My JBuilder tool set's up the jar as an executable and kicks off the defined class.I can also kick off the class from a batch file...

Should the batch file do the management of the instances, or should it be done within the Java Code.I am on a windows platform. ( Note if I was using a scripting language or C on "Unix", I would just play off of the processes, I do not know how to do this in Windows ).

Thanks for your help.

JavaRob

[684 byte] By [javarob] at [2007-11-26 12:03:17]
# 1
Stop posting every question multiple times. It's very inconsiderate.
jverd at 2007-7-7 12:28:24 > top of Java-index,Java Essentials,New To Java...