Hecl Builder

Easy Mobile Applications

TickerExample
Download: .jad .jar
2.0/5 Average rating:

MIDP Version: 2.0
Description: lcdui.ticker example
Last updated: Mon Oct 27 15:44:08 +0000 2008 by davidw

set ticker [lcdui.ticker -text "The time is [clock format [clock time]]"]
set form [lcdui.form -title "Ticker Example" -ticker $ticker]
$form setcurrent

proc updateTicker {ticker} {
    $ticker configure -text "The time is [clock format [clock time]]"
    after 1000 [list updateTicker $ticker]
}

after 1000 [list updateTicker $ticker]


Note: If you have trouble with the applets on this site, you might try upgrading your Jave Runtime Environment, in order to get the "Next-Generation Java Plug-In", available for download here: http://download.java.net/jdk6/