🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: JProgressBar�����������

#18594
From: The Last Escape
Date: Fri, 06 Feb 2004 15:15
25 lines
1977 bytes
��������߳���һ��ѭ����sleepһ�£��Ϳ�����
��Ȼ���Ǹ����̣߳�������µ��̶߳��Ҫ�������֮��
�Ż�ܺõ�����

�� �� llsz (Gatorade) �Ĵ������ᵽ: ��
: ������һ��JProgressBar����ʾijЩ����ִ��(ActionThread)��ȣ�
: ���ڸ���ProgressBar�Ĵ�������:
: ------------------------------------------------------------------------------
:     class ProgressUpdateThread1 extends Thread
:     {
:         int value;          //ProgressBar value
:         Runnable runnable;  //set ProgressBar
:         Thread actionThread;//action (do sth, like copy file,etc...)
:         public ProgressUpdateThread1()
: >>  .................<����ʡ��>............


--
/*----------------------------------*/  
(!C++)?JAVA:VB.NET    //���ѡ���е���  
��� ����MFC��.NET��JAVA һ���������٣�  
���� ------- E---N---G---L---I---S---H 
/*----------------------------------*/   

�� ��Դ:��Ʈ��ˮ�Ƽ� freecity.cnzju.net��[FROM: eldon]
Technical Details
Message-ID: <4AY8cb$9mK@freecity.cnzju.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!c03.atl99!sjc70.webusenet.com!news.usenetserver.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,837f03d76fa6e59c
X-Google-Attributes: gidf6cb0,public
X-Google-ArrivalTime: 2004-02-06 07:21:52 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!c03.atl99!sjc70.webusenet.com!news.usenetserver.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!Freecity
From: eldon.bbs@freecity.cnzju.net (The Last Escape)
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: JProgressBar�����������
Date: 06 Feb 2004 15:15:35 GMT
Organization: Ʈ��ˮ�Ƽ�
Message-ID: <4AY8cb$9mK@freecity.cnzju.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1076080453.A