0

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?

asawilliams
  • 2,908
  • 2
  • 30
  • 54

2 Answers2

1

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

Check out SWT and this.

Community
  • 1
  • 1
PeterMmm
  • 24,152
  • 13
  • 73
  • 111
-1

Look into JInternalFrames

ChadNC
  • 2,528
  • 4
  • 25
  • 39
  • Thanks for the answer, but JInternalFrames is more for internal java panes, not for embedding windows applications. – asawilliams Nov 12 '09 at 16:51
  • 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 Nov 12 '09 at 17:09