📄 jmp.java
字号:
//
// 僇乕儕儞僌
//
import com.nttdocomo.ui.*;
public class JMP extends IApplication implements Runnable {
public JMPS S;
public void start()
{
S = new JMPS();
Display.setCurrent( S );
// s.initAll();
S.initAll( getSourceURL() );
Thread runner = new Thread(this);
runner.start();
// S.start();
}
public void resume()
{
S.Resume();
}
public void run()
{
int K = 0;
long lt = System.currentTimeMillis();
int c = 0;
for(;;)
{
K |= S.getKeypadState();
c = (int)( System.currentTimeMillis() - lt ) / 100;
if (c > 0 )
{
PhoneSystem.setAttribute( PhoneSystem.ATTR_BACKLIGHT_ON, 0 );
S.ProEvent( K );
lt += c * 100; //System.currentTimeMillis();
K = 0;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -