Sunday 17 June 2018

open an external executable application program in java source code


open an external executable application program in java application program .this method is used in windows operating system software .In this java program do a simple code method that open any executable program in your java application program like notepad ,paint,ms office etc.

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package javaprogram;
import java.io.*;
/**
 *
 * @author rajesh kumar shukla
 */
public class MainPro {

     //public static runExtApp runapp =new runExtApp();
     
         public static void main(String[]args){
         
        try{
             Runtime.getRuntime().exec("mspaint");
             }catch(IOException e){ //end try 5
             System.err.println(e);
         
     }//end void main
    
         }
}




2 comments:

Unknown said...

how to open recycle bin using this code

Unknown said...

HOW DR.JOHN HELP ME TO MAKE MY PENIS INCREASE IN 10 INCHES LONG, I'm Here to tell people over the world how Dr.john is real herbalist that we help you in any situation problem...my testimony is about a herbalist Doctor called Dr.john I was heartbroken because i had a very SMALL PENIS, not big enough to satisfy a Woman, i have been in so many relationship,but cut off because of my situation, i have used so many product which doctors prescribe for me, but none could offer me the help i searched for. i saw some few comments on the internet about this specialist called Dr.john and decided to email him on his email i saw on the internet, (drjohnenlargementhome@gmail.com) so I decided to give his herbal medicine a try. i emailed him and he got back to me, he gave me some comforting words with his herbal medicine for Penis Enlargement,Within 2 week of it, i began to feel the Enlargement of my penis, "and now it just 3 weeks of using his herbal medicine my Penis is about 10 inches longer, and i had to settle out with my Ex (Girlfriend) i was surprised when she said that she is satisfied with my sex and i have got a large penis,Am so happy..email him to help you too.his Whats App number:+2348060259313 he also specialize on the following things Permanent penis enlargement Thick penis Bigger penis head Improved force and intensity Boosted semen quantity Effective erections Cures and prevents impotence Have multiple orgasms Ends Early ejaculation Increased stamina High blood pressure Best regard John AUSTIN

Post a Comment