Article View: borland.public.jbuilder.java.api
Article #53Re: Single Instance Application
From: Kevin Dean [TeamB]
Date: Wed, 23 Feb 2005 13:14
Date: Wed, 23 Feb 2005 13:14
26 lines
1905 bytes
1905 bytes
Eric Orilla wrote: > > How to implement a single instance application? > I don't think that's possible in Java. You need access to operating-system specific calls to get to the task list and switch to your currently-running instance. If you're running under UNIX, a shell script that starts your application will do the job quite nicely. Under Windows, there's no easy way I can think of. -- Kevin Dean [TeamB] Dolphin Data Development Ltd. http://www.datadevelopment.com/ NEW WHITEPAPERS Team Development with JBuilder and Borland Enterprise Server Securing Borland Enterprise Server http://www.datadevelopment.com/papers/index.html Please see Borland's newsgroup guidelines at http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID:
<xn0dyu9js1ybql004-kdean@www.teamb.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<421c464c$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1089d0,4423778dca7c940b
X-Google-Attributes: gid1089d0,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Kevin Dean [TeamB]" <NkOdSePaAnM@datadevelopment.com>
Subject: Re: Single Instance Application
Newsgroups: borland.public.jbuilder.java.api
References: <421c464c$1@newsgroups.borland.com>
Organization: Dolphin Data Development Ltd.
User-Agent: XanaNews/1.17.2.7
X-Face: ":yn4zt^A_dn>6~{YJmu^B\'4w)e:apPM\VC=Dvf&*tASxX9|BYczkFd$xr.$vNSZ[3Uobr
p]c4\+\l){!WQI.$]veP({HLd;CDYH?iN
Message-ID: <xn0dyu9js1ybql004-kdean@www.teamb.com>
X-Ref: newsgroups.borland.com ~XNS:000000D7
NNTP-Posting-Host: 24.57.153.235
Date: 23 Feb 2005 05:14:46 -0800
X-Trace: newsgroups.borland.com 1109164486 24.57.153.235 (23 Feb 2005 05:14:46 -0800)
Lines: 26
X-Authenticated-User: kdean
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail