http://nihs.com.ne.kr/temp/NotHelloWorldApplet.html

~cpp 

// NotHelloWorldApplet.java

import java.awt.*;
import java.awt.event.*;
import javax.swing.*;

class NotHelloWorldPanel extends JPanel
{
	public void paintComponent(Graphics g)
	{
		super.paintComponent(g);
		g.drawString("Not a Hello, World applet", 75, 100);
	}
}

public class NotHelloWorldApplet extends JApplet
{
	public void init()
	{
		Container contentPane = getContentPane();
		contentPane.add(new NotHelloWorldPanel());
	}
}




From. 申 君...


Retrieved from http://wiki.zeropage.org/wiki.php/ConvertAppIntoApplet/진영
last modified 2021-02-07 05:23:01