Program: findProgram(String p) : Program « org.eclipse.swt.program « Java by API






Program: findProgram(String p)



import org.eclipse.swt.program.Program;

public class MainClass {

  public static void main(String[] a) {

    Program program = Program.findProgram("notepad.exe");
    program.execute("test.ext");
  }
}

           
       








Related examples in the same category

1.Program: execute(String arg0)
2.Program: getName()
3.Program: launch(String name)