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.

<title>HTA app test1</title>
<meta http-equiv=“Content-Type” content=“text/html; charset=iso-8859-1”>

<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>
<noframes><body bgcolor=“#FFFFFF”>

<title>Ejemplo de Applet</title>

<table width=“100%”>
<td bgcolor=“red”> <font face=“arial” size=“4”><center>sistemas de computo </center></font></td>

  &lt;applet code="MetodoTriangulodemo"
     width="400" height="300"&gt;
  Debes tener instalado java

  &lt;applet code="EjemploApplet"
     width="200" height="100"&gt;
  Debes tener instalado java

<applet code=“clod.class” width=252 height=124>