🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How can an application start another?

#17845
From: Carlos Antonio Ruiz G�mez
Date: Tue, 29 Sep 1998 00:00
21 lines
1050 bytes
I use the following code:

 MyApplication appMyApplication = new MyApplication();
 appMyApplication.main(null);

or the following if I need arguments:

 appMyApplication.main(new String[] {"arg1", "arg2"});
 
-- 
Carlos Antonio Ruiz G�mez
cruiz@americatel.net.co

Richard Evans <richard.evans@dial.pipex.com> escribi� en art�culo
<360B502E.30B66068@dial.pipex.com>...
> We have two Java applications.  How can one application start the
> other?  We'd prefer to keep the two applications separate rather than
> bundling them both into one large application.
> 
> Rich.
> 
Technical Details
Message-ID: <01bdebc0$95834c20$0d10a8c0@cruiz>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <360B502E.30B66068@dial.pipex.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f74b3,61d15b307e1a2fe1
X-Google-Attributes: gidf74b3,public
From: "Carlos Antonio Ruiz G�mez" <cruiz@americatel.net.co>
Subject: Re: How can an application start another?
Date: 1998/09/29
Message-ID: <01bdebc0$95834c20$0d10a8c0@cruiz>
X-Deja-AN: 396010465
References: <360B502E.30B66068@dial.pipex.com>
Organization: Americatel Colombia
Newsgroups: borland.public.jbuilder.java.language