📄 jstatck.java~1~
字号:
package com.util;
import java.util.*;
import javax.swing.JLabel;
public class Jstatck
extends TimerTask {
JLabel jlabel;
public Jstatck(JLabel jlabel) {
this.jlabel =jlabel;
}
/**
* When an object implementing interface <code>Runnable</code> is used to
* create a thread, starting the thread causes the object's <code>run</code>
* method to be called in that separately executing thread.
*
* @todo Implement this java.lang.Runnable method
*/
public void run() {
this.jlabel.setText("");
this.jlabel.setText("欢迎使用无限资产管里系统");
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -