🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #7559

Re: Get program id from java

#7559
From: John McGrath TeamB
Date: Thu, 07 Jun 2001 03:11
19 lines
1700 bytes
On Wed, 06 Jun 2001 14:04:41 +0800, Russell wrote:

> Can i get PID value and from PID , minimize the window
> or close window where the process is running ??

I can think of no way to minimize the window for a subprocess without 
resorting to native code, not even a non-portable Java solution.

You can terminate the process using process.destroy(), and that would 
close the window, but I am guessing that is not what you want to do.

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <MPG.1588a79895ff628998a271@forums.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!cpk-news-hub1.bbnplanet.com!news.gtei.net!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews
References: <3B1C5D8E.36A4A8C4@cesmainternational.com> <MPG.158654718aa35dbb98a262@forums.borland.com> <3B1C926F.8E6ADE24@cesmainternational.com> <MPG.15866f22a70b49a598a264@forums.borland.com> <3B1DC7F9.5FC04312@cesmainternational.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,12a44754146f6396
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-06-06 20:12:44 PST
From: John McGrath  [TeamB] <ng-b@JPMcGrath.net>
Newsgroups: borland.public.jbuilder.java.language
Subject: Re: Get program id from java
Date: Wed, 6 Jun 2001 23:11:11 -0400
Message-ID: <MPG.1588a79895ff628998a271@forums.borland.com>
References: <3B1C5D8E.36A4A8C4@cesmainternational.com> <MPG.158654718aa35dbb98a262@forums.borland.com> <3B1C926F.8E6ADE24@cesmainternational.com> <MPG.15866f22a70b49a598a264@forums.borland.com> <3B1DC7F9.5FC04312@cesmainternational.com>
X-Newsreader: MicroPlanet Gravity v2.30
NNTP-Posting-Host: 209.92.40.60
X-Trace: dnews 991883470 209.92.40.60 (6 Jun 2001 20:11:10 -0700)
Lines: 19
X-Authenticated-User: jpmcgrath
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!cpk-news-hub1.bbnplanet.com!news.gtei.net!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews