📄 keyrepeattask.java
字号:
// KeyRepeatTask.java
// Andrew Davison, ad@fivedots.coe.psu.ac.th, August 2005
/* This timer task calls ScrollableMessagesBox's
repeatTextMove(), which repeats the current text
movement while the key speifying the movement is
held down.
*/
import java.util.TimerTask;
public class KeyRepeatTask extends TimerTask
{
private ScrollableMessagesBox scroller;
public KeyRepeatTask(ScrollableMessagesBox smb)
{ scroller = smb; }
public void run()
{ scroller.repeatTextMove(); }
} // end of KeyRepeatTask class
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -