[SOLVED] opening/running a program from java
Does Java have an API or command to say open up a text document in notepad without having to code a shell and frame and get the Notepad framework attached to it? Similar action would be just typing Eclipse from the command prompt to run the eclipse program(assuming I'm in the directory).
My program creates a build file(a text file at this point) with some information in it and instead of having to navigate to the directory and open it(I'm lazy), I want to attach a listener, that will open notepad and load said file, to a button. Is this possible and where do I look if it is.