日期:2014-05-20  浏览次数:20760 次

怎么会出现:警告:<applet> 标记需要高度属性
C:\java> appletviewer   g.html
警告: <applet>   标记需要高度属性。

g.html

为:
<html>
<head>
<title>
Just   For   Test
</title>
</head>
<body>
<applet   code= "RectTest.class "   width=500   heigh=500> </applet>
</body>
</html>

应该没错啊。

------解决方案--------------------
是height............
不是heigh