I want to embed microsft notepad in my java application.... is there any way... i dont want to use java own made notepad....

Recommended Answers

All 2 Replies

You may run any external program from java using Runtime.getRuntime().exec().

The notepad executable is located in "%windir%\notepad.exe"

And again. This zombie is 2 weeks old. Majestics is unlikely to be still waiting for an answer, and even less for a poor one like that (ProcessBuilder effectively replaced Runtime.exec).
Please do NOT resurrect zombie threads.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.