Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Loading Swing Applets

Status
Not open for further replies.

chipperMDW

Programmer
Mar 24, 2002
1,268
US
When I write an applet using Swing and compile it using JDK 1.3.1, it runs fine in appletviewer, but it fails to load in any browser I've tried (including the most recent).

Is there a trick to using Swing I should know about? Do I just need to use a more recent version of Java? Do I need to get a plugin from somewhere?

Thanks for your help,
chip
 
No, most browsers have like version 1.1.7 of Java, this does not include swing and thus your swing applets do not work. You either need to include your swing classes in a jar file with the applet or have your web site users download a jre brower plugin from sun.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top