Introduction - If you have any usage issues, please Google them yourself
*/
import java.awt.Graphics
public class HelloToJava extends java.applet.Applet {
/** Initialization method that will be called after the applet is loaded
* into the browser.
*/
public String sHello
public void init() {
// TODO start asynchronous download of heavy resources
sHello="欢迎来到Java世界!"
}
public void paint(Graphics g){
g.drawString(sHello, 50, 50)
}
// TODO overwrite start(), stop() and destroy() methods
}