peetaslertulk
New Member
I have Googled and researched still I don't understand where I am going wrong. My program consists of three classes: \[code\]myFrame\[/code\], \[code\]myRightPanel\[/code\] and \[code\]calculationEngine\[/code\]. \[code\]myFrame\[/code\] is the class which extends \[code\]JApplet\[/code\], I did this:\[code\]public class myFrame extends JApplet implements ActionListener { //bunch of things here}\[/code\]myRightPanel class and calculationEngine class are instantiated and used by myFrame. Whole code works fine in the applet viewer in eclipse. The trouble i am facing is in embedding it into an html. I did this and it doesn't work.\[code\]<!DOCTYPE html> <html> <body> <marquee> <h1> Ghun Chaatlo </h1></marquee> <applet code="myFrame.class" height="800" width= "1200"> </applet> </body> </html>\[/code\]All files: .html and .class files are in the same directory. But when I run the html, it doesn't show the applet. IDK why? Please help.