🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.lang.java
Article #20150

applet��������

#20150
From: ���Ů
Date: Tue, 23 Dec 2003 03:13
15 lines
1485 bytes
����tutorialһ��һ����������������java�ļ���д����html�����Ǵ�html�ļ�����
ʾ�����class�ļ��޷�load��
���class��������ͬһĿ¼�£�Ϊʲô�Ҳ����أ�
�ѵ��ǻ���ʲô��������Ҫ���õġ�classpath�Ѿ�����ˣ��������ʱ�ͻ����ġ�
˳����һ��html�ļ�
import java.applet.Applet;
import java.awt.Graphics;
public class HelloWorld extends Applet {
    public void paint(Graphics g) {
        g.drawString("Hello world!", 50, 25);
    }
}

--
�� ��Դ:��Ʈ��ˮ�Ƽ� Freecity.dhs.org��[FROM: isesame]
Technical Details
Message-ID: <49kUIe$A8Q@Freecity.dhs.org>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-out.visi.com!petbe.visi.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!Freecity

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: f6cb0,c66097127596dd9b,start
X-Google-Attributes: gidf6cb0,public
X-Google-ArrivalTime: 2003-12-22 19:10:32 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-out.visi.com!petbe.visi.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!Freecity
From: isesame.bbs@Freecity.dhs.org (���Ů)
Newsgroups: cn.bbs.comp.lang.java
Subject: applet��������
Date: 23 Dec 2003 03:13:14 GMT
Organization: Ʈ��ˮ�Ƽ�
Message-ID: <49kUIe$A8Q@Freecity.dhs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1072148872.A