function timerDateFired()
{
format = class java.text.SimpleDateFormat("yyyy-MM-dd")
date = format.format(createTime().getCalendar().getTime())
labelDateValue.setText(date)
format = class java.text.SimpleDateFormat("HH:mm:ss")
date = format.format(createTime().getCalendar().getTime())
labelTimeValue.setText(date)
// panelTime.setBackColor(createColor(58,73,88))
// labelDateValue.setBackColor(createColor(58,73,88))
// labelTimeValue.setBackColor(createColor(58,73,88))
// panelLine.setBackColor(createColor(58,66,133))
labelDateValue.setForeColor(Color::WHITE)
labelTimeValue.setForeColor(Color::WHITE)
}
FTPC中定时器方法在页面显示时间
最新推荐文章于 2024-08-31 10:44:02 发布