Matt Gerrans
Posts: 1153
Nickname: matt
Registered: Feb, 2002
|
|
Re: Another question about Runtime.exec()
|
Posted: Jan 30, 2003 1:27 PM
|
|
You wouldn't do that with Runtime.exec(). You could write lots of JNI tricks to force IE on top of your frame, but it would still have all its own window components (title bar, etc.) and the whole thing would look silly. Also, you'd have practically no control of IE.
The way to do this sort of thing is by using the IE COM control, or WebBrowser control, as it is called. I think there are probably tools for embedding COM components (or ActiveX components, as it were) in a Swing application, but I haven't looked into this; try searching google for COM and Java or COM and Swing, etc.
|
|