jstatck.java~1~
来自「对2000元以上的资产管理」· JAVA~1~ 代码 · 共 25 行
JAVA~1~
25 行
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 + =
减小字号Ctrl + -
显示快捷键?