keyrepeattask.java
来自「Bluetooth echo between pc server and cli」· Java 代码 · 共 27 行
JAVA
27 行
// 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 + =
减小字号Ctrl + -
显示快捷键?