Overview | Methods | This Package | All Packages
OverviewMethodsThis PackageAll Packages
Timer.setInterval
Sets the time between timer events.
Syntax
public final synchronized void setInterval( int value )
Parameters
value
The number of milliseconds between timer events. If this value is less than 1 millisecond, the interval will be set to one millisecond.
Remarks
The Timer control is not a threaded control. Therefore, the timer event may not be triggered exactly at the time specified in the interval property. Delays in the timer event can be caused by long system processes or the loading of other applications.
See Also getInterval