Click to See Complete Forum and Search --> : How can I call NOTEPAD from JAVA. pls. help


jollytilo
01-12-2006, 01:53 AM
How can I call NOTEPAD from JAVA. pls. help
thank you

BigDog
01-12-2006, 09:01 AM
You would use JNI. http://java.sun.com/j2se/1.4.2/docs/guide/jni/

jollytilo
01-12-2006, 07:04 PM
Hello BigDog.. thanks for your help. but im just new to JAVA. if possible can you give me example?
thanks

BigDog
01-16-2006, 09:31 AM
Sorry, I never use JNI. I very strongly prefer not to mix things from outside of the java VM, so don't have any real experience with JNI. I just know that you need to use JNI to "call" any external programs.