?? telephonetimer.java
字號:
package com.ideas.communicate;
import com.ideas.alert.*;
import java.awt.event.*;
import com.ideas.util.*;
public class TelephoneTimer
implements ActionListener {
//設置定時器
javax.swing.Timer timer = new javax.swing.Timer(Configuration.PageRefreshRate, this);
public TelephoneTimer() {
if (AlertProperties.success && Configuration.TelephoneTellerFlag) {
timer.start();
System.out.println("電話報警程序啟動");
}
}
public void actionPerformed(ActionEvent e) {
for (int i = 0; i < Alert.TokenContent.length; i++) {
if (Alert.TokenContent[i] != null) {
TelephoneTeller.send(Alert.TokenContent[i]);
}
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -