Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Help running Swing Applet in IE 6

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
i've a very simple Swing applet that runs in appletviewer and in Netscape but gives error in IE 6.0, 'Applet can't be instantiated'
i'm using Win98
i've tried to add the path\rt.jar in the classpath but still it doesn't work.
one help doc. on the web says enter the swing.jar, windows.jar and motif.jar in classpath but i don't have these file in my JDK1.3 installation.
SET CLASSPATH=%CLASSPATH%;%SWING_HOME%\swing.jar;
%SWING_HOME%\windows.jar;%SWING_HOME%\motif.jar;
 
S Malik
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well after installing the plugin from http://java.sun.com/products/plugin/index-1.4.html the Swing Applets has started working in IE.
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcomem to JavaRanch and thanks for sharing what you learned.
I hope to see you 'round the Ranch.
 
no wonder he is so sad, he hasn't seen 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
    Bookmark Topic Watch Topic
  • New Topic