qidong.java~3~

来自「对2000元以上的资产管理」· JAVA~3~ 代码 · 共 24 行

JAVA~3~
24
字号
package com.util;

import java.util.*;
import javax.swing.JTextArea;

public class QiDong
    extends TimerTask {
  JTextArea jTextArea1;
  public QiDong(JTextArea jTextArea1) {
    this.jTextArea1 = jTextArea1;
  }

  /**
   * 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() {
   jTextArea1.append(" ■");
  }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?