Win a copy of Java Challengers this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • paul wheaton
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • Mikalai Zaikin
  • Himai Minh

interfacing with internet explorer

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How do i interface my swing program with internet explorer in java?
 
Ranch Hand
Posts: 583
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
well wot exactly is u r question..
all swing components run on IE upto version 5.01
Please explain your question more clearly.. there aint no restriction on question size..
Regds
Gautham Kasinath
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you write a Swing Applet you have to use a java plugin available from http://java.sun.com/products/plugin/
The plugin is required because neither browser supports Swing or Java 2.
 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Cindy Glass:
If you program is a stand alone application, you re-write it so that a browser can use it.[/B]


Does this mean to re-write it to make it become an Applet?



[This message has been edited by ken chou (edited April 17, 2001).]
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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...

  1. If you are asking how to launch IE from within your application, look at this thread.

  2. 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).


  3. HTH,
    -Nate
 
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
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic