Communicating with desktop applications

What would be the suggestions of where to go to find information on the following:

I am trying to create an application that will open a desktop application in either a JAVA window or JFrame. I want Java to pass the information back and forth to the dekstop application. Any ideas on where to get some information on this subject?

[343 byte] By [JavaforRyana] at [2007-11-26 16:59:32]
# 1

OK For example; normally you would double click a application on your windows desktop and it would startup and run.

What I want to do is have a jave application run the program and instead of it opening normally, it willopen behind the scenes and will run within my java Frame or window? Where can I get some information on this anyone know?

JavaforRyana at 2007-7-8 23:27:19 > top of Java-index,Java Essentials,Java Programming...
# 2

The only thing I can think of is SWT (Standard Widget Toolkit). If I remember correctly, there is a container that can be used to 'hold' an OLE enabled application. Of course, this will limit you to Windows only (I think).

To get a look at SWT try this link;

http://www.eclipse.org/swt/

And this article demonstartes how to embed a Word document;

http://www.eclipse.org/articles/Article-ActivexSupportInSwt/index.html

Tillermana at 2007-7-8 23:27:19 > top of Java-index,Java Essentials,Java Programming...