call the className.main() for the class that you want to call
-----Original Message-----
From: Surajit Deb [mailto:surajitdeb@o...]
Sent: Sunday, December 10, 2000 5:58 AM
To: Java Server
Subject: Running one application from another application
How do I stop and start an applcation which has its own main method from
within another application.The second application should detect whether
the first application is running , if it is running ,it should stop is
and then run it again. If it is not running it shoud just start the first
one