Hello , I am here again.
<!--EndFragment-->
import java.applet.*; //import package of applet
import java.awt.*; //used graphics object of this class when display
public class sugizo_can extends Applet{
public void paint(Graphics g)
{
g.drawString("Hello sugizo_can,you are the best!",20,30);
//display string in explorer (20,30)
}
}
Saved as sugizo_can.java
Then write the code of html like:
<!--EndFragment-->
<html>
<applet code="sugizo_can.class" width=200 height=200></applet>
</html>
Ok,Already.
We can see that there are right result.
<!--EndFragment-->
<!--EndFragment-->