I have created a Java applet in Eclipse and ran it in eclipse, it works fine . To run the applet in Webbrowser it was mentioned to embed the .class file inside a webpage by creating a HTML file. My class name is MyFirstGUI. i have created a file name gui.html and saved it in my documents. The error im getting in browser when running the file is "ClassNotFoundException". This is the content of my html file .
<TITLE>Metric Conversion Helper</TITLE>
<APPLET code = “MyFirstGUI.class” width = “400” height = “120”>