views:

141

answers:

2

I was wondering if there is a way to embed a windows application like photoshop inside a java application? More specifically I would like to set the parent container of the windows application to a JPanel or JFrame. Is this possible?

A: 

Look into JInternalFrames

ChadNC
Thanks for the answer, but JInternalFrames is more for internal java panes, not for embedding windows applications.
asawilliams
I've done just that with them before but whatever.
ChadNC
Looking at the docs for JInternalFrames, it does not seem apparent how I would embed a Windows application like Word, Photoshop, or Firefox. Can you explain a little more in your post how you did it?
asawilliams
+1  A: 

I think Swing/AWT cannot do this without a (guest program specific) JNI.

Check out SWT and this.

PeterMmm