🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

java�����ʼ����⣺����requestFocus()

#11938
From: ����
Date: Mon, 23 Aug 2004 03:51
25 lines
1453 bytes
//�������ҿ���Ϊʲô���к󣬹��������txtFirst�ı�����,ʲô�ط�������
//������win2k, jbuilder4, SDK1.4.2

import java.applet.Applet;
import java.awt.*;

public class HellowWorldApplet extends Applet
{
    TextField txtFirst = new TextField("first");
    TextField txtSecond = new TextField("second");
    public void init()
    {
        add(txtFirst);
        add(txtSecond);
        txtSecond.requestFocus();
    }
}
--
��ӭ���ʡ�����ļҡ����ҵĸ�����ҳ

http://home.lzu.edu.cn/liuwj02/

�п�������ѽ��

�� ��Դ:������δ��վ bbs.pku.edu.cn��[FROM: 210.26.53.45]
Technical Details
Message-ID: <4DjDOV$9aN@bbs.pku.edu.cn>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news-out2.kabelfoon.nl!83.128.0.10.MISMATCH!newsfeed.kabelfoon.nl!maily.cic.tsinghua.edu.cn!news.happynet.org!PKU

Show Full Headers
Complete Article Headers
X-Google-Thread: f6cb0,14f6a272c1cb86b0,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!news-out2.kabelfoon.nl!83.128.0.10.MISMATCH!newsfeed.kabelfoon.nl!maily.cic.tsinghua.edu.cn!news.happynet.org!PKU
From: waiwaiyy@bbs.pku.edu.cn (����)
Newsgroups: cn.bbs.comp.lang.java
Subject: java�����ʼ����⣺����requestFocus()
Date: 23 Aug 2004 03:51:47 GMT
Organization: ����δ��վ
Message-ID: <4DjDOV$9aN@bbs.pku.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1093233055.A