April 27th, 2000, 08:03 PM
I have an applet running a thread, and every second I grab a current time and dump in a text field. However, the text field is not updated when getting a new time. Is there anyone knowing how to update Text Field.
|
Click to See Complete Forum and Search --> : Applet April 27th, 2000, 08:03 PM I have an applet running a thread, and every second I grab a current time and dump in a text field. However, the text field is not updated when getting a new time. Is there anyone knowing how to update Text Field. kib63613 April 28th, 2000, 04:40 AM you can use setText() in the TextComponent which is the base class of the class TextField to set the text string in the text box. It will overwite its orignal stuff in the box. good luck, Alfred Wu codeguru.com
Copyright WebMediaBrands Inc., All Rights Reserved. |