put an applet into a web page
Hi, my codes works well as an applet, but why no appearance in a html.
<html>
<Japplet code ="Combox.class" archive="TestCell3.2.jar"
width ="600" height ="450">
</Japplet>
</html>
One thing I must mention is I create my code that works both as an applet and as a stand-alone application.
I have three class: Combox.java ,Drawing.java and TextCell.java.
publicclass Comboxextends JApplet
{
private Drawing drawing;
private Container Panel;
publicvoid init()
{
Panel = getContentPane();
drawing =new Drawing();
Panel.add(drawing,"Center");
}
publicvoid start(){}
...
}
class Drawingextends JPanel
...
publicvoid getDrawingData()
{
TestCell p =new TestCell();
p.cellData();
..
publicstaticvoid main(String[] args)
{
JFrame appletFrame =new JFrame("My Applet");
Applet theApplet =new Combox();
{
Thanks for any help.

