• Post Reply Bookmark Topic Watch Topic
  • New Topic

Running Swing in IE

 
Thillai Sakthi
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am unable to run Swing application in IE just like ordinary applets? Can anybody help and clarify as to why?
 
selvi
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am also having the same problem with Swing. If you find an answer ,let me know about it .I am using IE(4.0). Thanks,
 
Prabhu Chandrasekaran
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try writing the same code in a frame(JFrame) instead of a JApplet. It will work. My friend says that there is a converter available which can be used to deploy swing components as applets. When I get the full details, I will post the same.
Bye.

------------------
 
Patrick Lentz
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey guys,
to run Java2 in your webbrowser you need the HTML converter from Sun. This will convert your HTML files so that the Java2 virtual machine will be used and will create object tags that your browser likes to see. You can get the HTML converter on this page: http://java.sun.com/products/plugin/
Have fun
Patrick
 
daman sidhu
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,
There is no support in IE for swings, what u can do i that provide the swings classes in the applets archive tag along u , then the clients browser will incorporate those classes in its java env. u can downoad that from java.sun.com the, look for swings.jar or swing.jar ( i cant recollect which was it) and then in ur applet tag give:
<applet code=myClass archive=swings.jar>
this will run then,
Hope this will help u,
Regards,
Daman
 
daman sidhu
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,
There is no support in IE for swings, what u can do i that provide the swings classes in the applets archive tag along u , then the clients browser will incorporate those classes in its java env. u can downoad that from java.sun.com the, look for swings.jar or swing.jar ( i cant recollect which was it) and then in ur applet tag give:
applet code=myClass archive=swings.jar
this will run then,
Hope this will help u,
Regards,
Daman
 
Glen Tanner
Ranch Hand
Posts: 147
Java Python Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use the Java Plugin (JRE).
Read all about it at: http://java.sun.com/products/plugin/index.html
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!