Well if your Swing program is an applet, then you create an html file with an applet tag in it that points to your program. If you program is a stand alone application, you re-write it so that a browser can use it.
"JavaRanch, where the deer and the Certified play" - David O'Meara
Hmmm... this question can mean many things... very zen... but very annoying... please try to be more specific and give more information about your problem in future posts! Well... with the requisite rant out of the way, I would propose a few solutions based on what your problem actually is...
If you are asking how to launch IE from within your application, look at this thread.
If, instead, you want your Swing program to run inside the browser, you will need to change your program from an application into a JApplet (Swing's version of Applet) and then use the Java 2 plugin (provided by Sun) on IE to get it to use the Sun VM instead of the crappy M$IE VM, which is about Java 1.1.8... you will also have to use HTMLConverter (also provided by Sun) to convert your applet tags into object tags (this forces the browser to use the Java2 plugin).
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop