Hi, This is possible but not with Swing. You should use AWT for that purpose. Swing doesn's use peer components, but draws its own components. The only peer component Swing uses is the Window, which you'll find out is actually an AWT component. The good news is that you can combine AWT with Swing, but you should do it with care. You may find the do's and don'ts in any Java book.
The most delicate stuff is how to incorporate a Win32 window within your application. To do that you should be familiar with some Win32 programming. You need to have a Handle to the window of the application you want to incorporate (e.g. Word) and assign it to the AWT frame. As far as I remember this piece of code is done in native code and not in Java. It makes sense since it's specific for Windows. You should listen to any move/resize events on the Java application and move the Win32 applications using the handle mentioned above accordingly. If you think you can cope with it, search the web for the details. I can assure you that it's possible as long as you can get a Handle as mentioned above. Yalon ----- Original Message ----- From: "Chris" <ch_he...@gmx.de> To: "Java EE (J2EE) Programming with Passion!" <java-ee-j2ee-programming-with-passion@googlegroups.com> Sent: Wednesday, January 21, 2009 11:01 AM Subject: [java ee programming] Integrate a win32 app into a java swing component > > Hi, > > What i am trying to is this: I want to integrate win32 apps e.g. MS > Word, OpenOffice Writer, etc. into a Java Swing GUI. This whole thing > should be some kind of management console meaning the user can > administrate all application in one JFrame. > > The JFrame should consist of tabs where each tabs contains another > application. Does anything like thing exist? Where can I start? > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~----------~----~----~----~------~----~------~--~---