Hi ,

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


Recommended Answers

You can't.

Jump to Post

All 3 Replies

You can't.

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 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.