Opening Notepad (or any other external application) with JAVA
Wednesday, November 21, 2007
public class test {
public static void main(String args[])
{
System.out.println("\nSuccess");
Runtime r= Runtime.getRuntime();
Process p=null;
try {
p=r.exec("notepad.exe");
}
catch(Exception e)
{
System.out.println(e);
}
}
}
Labels: java
posted by MIGHTYMAK @ 7:52 AM,