Hi ,

How can I open an external program like ( word, notepad ) in JavaFrame Window ? not in external window ?

thanks

Recommended Answers

All 3 Replies

You can't.

Ezzaral
thanks for replay
but why not ?

is it possible to do it in C or C++ ??

Those applications are compiled to run in the windowing system of the OS - not in the container provided by a JFrame. They are not Java applications and are not designed to interact with one.

What you ask is akin to wanting to open Microsoft Excel within Paint. They are completely separate and incompatible entities.

Be a part of the DaniWeb community

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