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.

[2092 byte] By [ardmorea] at [2007-11-27 10:31:36]
# 1

<html>

<head>

<title>Applet</title>

</head>

<body>

<applet

code="Combox.class"

codebase="."

archive="TestCell3.2.jar"

width="600"

height="450">

</applet>

</body>

</html>

Java_Lavaa at 2007-7-28 18:10:39 > top of Java-index,Desktop,Core GUI APIs...
# 2

http://javaboutique.internet.com/tutorials/Thread0/add_java.html

Yannixa at 2007-7-28 18:10:39 > top of Java-index,Desktop,Core GUI APIs...