✎
编程开发网
首页
C语言
C++
面试
Linux
函数
Windows
数据库
下载
搜索
当前位置:
首页
->
AI编程基础
->
JAVA
java数字时钟
2014-11-24 10:46:25
·
作者:
·
浏览:
0
标签:
java
数字时钟
Timer timer = new Timer(1000, new ActionListener() {
public void actionPerformed(ActionEvent evt) {
st.setText(new SimpleDateFormat("dd/MM/yyyy HH:mm:ss").format(new Date()));
}
});
timer.start();