| [news.eclipse.platform.swt] Re: How to know if application already running? |
|
You have several options on this one, only one of
them having to do with SWT itself. The Display class has a method
which returns an array of all the Shell(s) open on that Display.
Alternatively, you can use file-locking, even server sockets to
implement the behavior. Daniel Doug Pearson wrote: Is there any way to detect from one SWT application if another SWT application is already running? |