How do I close an application, which I have opened before using
java. Say, if I have opened a notepad or an InternetExplorer using
Process P=Runtime.getRuntime().exec("notepad.exe");
or
P=Runtime.getRuntime().exec("C:/Program Files/Internet Explorer/iexplore.exe
www.yahoo.com"); and after 15 sec I want to close my application automatically through my code.