Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Applets in webpages
Applets in webpages [message #997187] Fri, 04 January 2013 10:36
Eustace Fril is currently offline Eustace FrilFriend
Messages: 13
Registered: December 2012
Junior Member
When I open in the browser an webpage that I have created in the same
package that contains the applet class, the applet gives an


=================
Application Error
NoClassDefFoundError

B_MyApplet (wrong name: ch12_Applets/B_MyApplet)
=================

Since it's in the same folder, I have put

<applet code = "B_MyApplet.class" width = "300" height = "400">

and to confirm the place I have also added

<a href = "B_MyApplet.class">B_MyApplet.class</a>

which when clicked as expected asks to download the applet.

The problem seems to be that the applet is the first line of the code

package ch12_Applets;

What is the solution?

Thanks.

emf

--
Date Calculator with all-purpose JS code
https://files.nyu.edu/emf202/public/js/dateCalculator.html
Previous Topic:'Updating Software' has encountered a problem
Next Topic:Problem downloading eclipse
Goto Forum:
  


Current Time: Thu Apr 15 06:04:27 GMT 2021

Powered by FUDForum. Page generated in 0.03021 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top