Anybody who knows how to embed a Java-applet in a HTA document ?
You can embed a Java-applet in an HTA-application, like in every normal HTML page using the <applet> tag.
Hope that helps…
Usando frameset.
Create a HTA with a frameset definition, then in the HTML docs put the script that have the applet code.
1.-
<html>
<head>
<title>HTA app test1</title>
<meta http-equiv=“Content-Type” content=“text/html; charset=iso-8859-1”>
</head>
<frameset cols=“,798,” frameborder=“NO” border=“0” framespacing=“0”>
<frame src=“frame_left.html” name=“leftframe” scrolling=“NO” noresize>
<frame src=“main.html” name=“main”>
<frame src=“frame_right.html” name=“rightframe” scrolling=“NO” noresize>
</frameset>
<noframes><body bgcolor=“#FFFFFF”>
</body></noframes>
</html>
2.-
<html>
<head>
<title>Ejemplo de Applet</title>
</head>
<body>
<table width=“100%”>
<tr>
<td bgcolor=“red”> <font face=“arial” size=“4”><center>sistemas de computo </center></font></td>
</tr>
<table>
<applet code="MetodoTriangulodemo"
width="400" height="300">
Debes tener instalado java
</applet>
<applet code="EjemploApplet"
width="200" height="100">
Debes tener instalado java
</applet>
<applet code=“clod.class” width=252 height=124>
</applet>
</body>
</html>