How to run an application in another?

Hi

I have two applications. One parent and the other child. Both the applications require two different Swing JFrames, one each. Now I want the child application to be imbedded in the parent application. Is this possible to run two applications together at the same time?

(Without using threads and Internal Frames)

Thanks

Pavan

[360 byte] By [pavankumara] at [2007-10-2 21:08:22]
# 1

Hi, Pavan, you don't need using threads.

I don't understand why you need two "applicaition"s. Do you really mean two Swing based classes? or two Java windows?

You can use Java internalframe if it is yes.

http://java.sun.com/docs/books/tutorial/uiswing/components/internalframe.html

happymustanga at 2007-7-13 23:54:10 > top of Java-index,Java Essentials,Java Programming...
# 2

Yes! They are two swing based classes. Both the programs need two different swing JFrames. So I am bound not to use Internal Frames. (which dont support windows events). But I want one of the program to be imbedded in another one. I am not sure if there is anyway to make this work!

Thanks

Pavan

pavankumara at 2007-7-13 23:54:10 > top of Java-index,Java Essentials,Java Programming...
# 3
You can have one class call the other one.. (if you don't want one JFrame is inside another one)
happymustanga at 2007-7-13 23:54:10 > top of Java-index,Java Essentials,Java Programming...