Article View: cn.bbs.comp.lang.java
Article #12186applet ����
From: super
Date: Sun, 08 Aug 2004 07:10
Date: Sun, 08 Aug 2004 07:10
22 lines
1195 bytes
1195 bytes
д��һ�����Applet.
�����е��벻ͨ��
String str="";
public void init(){
str="init() ===";
repaint();
}
public void start(){
str=str+"start()===";
repaint();
}
public void paint(){
g.drawstring(str,20,30);
str=str+"paint()==>";
}
�ŵ���ҳ�ϣ���ʾ����init()===start()===paint()==>
����init()===paint()==>start()===paint()==>
����Ϊʲô������������ôִ�еİ���
--
[m[1;32m�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 211.161.218.39][m
Technical Details
Message-ID:
<4DXW2D$AWI@bbs.sjtu.edu.cn>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed.mesh.ad.jp!newsfeed.media.kyoto-u.ac.jp!maily.cic.tsinghua.edu.cn!netnews.sdu.edu.cn!SJTUShow Full Headers
Complete Article Headers
X-Google-Thread: f6cb0,15a49f4be7f0571,start X-Google-Attributes: gidf6cb0,public X-Google-Language: Chinese,GB Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed.mesh.ad.jp!newsfeed.media.kyoto-u.ac.jp!maily.cic.tsinghua.edu.cn!netnews.sdu.edu.cn!SJTU From: flsc.bbs@bbs.sjtu.edu.cn (super) Newsgroups: cn.bbs.comp.lang.java Subject: applet ���� Date: 08 Aug 2004 07:10:21 GMT Organization: ��ˮ˼Դ Message-ID: <4DXW2D$AWI@bbs.sjtu.edu.cn> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit X-Filename: Java/M.1091948653.A