Article View: cn.bbs.comp.lang.java
Article #21044Re: JButton��setEnabled()����
From: ����
Date: Fri, 12 Dec 2003 12:46
Date: Fri, 12 Dec 2003 12:46
17 lines
1551 bytes
1551 bytes
equals
not equal
�� �� sonbo (����) �Ĵ������ᵽ: ��
: JButton button=(JButton)e.getSource();
: if(button.getText().equal("��ť���"))
: button.setEnble(false);
: �� �� LazySnake.bbs@bbs.sjtu.edu.cn (��Ѫ����) �Ĵ������ᵽ: ��
: : ���ڰ�ť����һ��֮��disable��
: : ������actionListener�������thisButton.setEnabled(false)��
: : ����ʾ˵<identifier>expected
: : Ӧ����ô���أ�
--
��Ի��ǰ����ٴεĻ���Ż�������IJ�����
[m[1;36m�� ��Դ:��Ʈ��ˮ�Ƽ� Freecity.dhs.org��[FROM: diamondfang][m
Technical Details
Message-ID:
<49cGjJ$9OQ@Freecity.dhs.org>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!in.100proofnews.com!in.100proofnews.com!newsfeed.mountaincable.net!newshosting.com!news-xfer2.atl.newshosting.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!FreecityShow Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB X-Google-Thread: f6cb0,c20954bde6e478fb X-Google-Attributes: gidf6cb0,public X-Google-ArrivalTime: 2003-12-12 04:48:01 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!in.100proofnews.com!in.100proofnews.com!newsfeed.mountaincable.net!newshosting.com!news-xfer2.atl.newshosting.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!Freecity From: diamondfang.bbs@Freecity.dhs.org (����) Newsgroups: cn.bbs.comp.lang.java Subject: Re: JButton��setEnabled()���� Date: 12 Dec 2003 12:46:45 GMT Organization: Ʈ��ˮ�Ƽ� Message-ID: <49cGjJ$9OQ@Freecity.dhs.org> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit X-Filename: Java/M.1071233155.A Lines: 17