How to open notepad in JAVA programming

import java.io.IOException;

public class Notepad {

    public static void main(String[] args) throws IOException {
        Runtime rs=Runtime.getRuntime();
        rs.exec("notepad");
    }

}

Share this

Related Posts

Previous
Next Post »