Bonjour,

voila j'ai le code plus basique du monde , c'est simple ma classe java et mon code HTML.
Il ne m'affiche pas l'applet il me dit qu'il ne le trouve pas !!
jetez un oeil ici :
http://marc.cescutti.eu/testapplet/index2.html

si quelqu'un pourrait m'expliquer.

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
	import java.awt.*;
	import java.applet.*;
 
         public class bonjour extends Applet {
	 String msg; 
	 public void init() {
	  msg="Bonjour de java !";
	 } 
	 public void paint(Graphics g) {
	  g.drawString(msg, 20, 20);
	 } 
	}
et mon code HTML :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
 <H1>Bonjour</H1>
 <HR>
 <DIV ALIGN=center> 
  <APPLET CODE="bonjour.class" WIDTH="300" HEIGHT="100">
  </APPLET>
 </DIV>
 <HR>
</body>
</html>