?? stopcommand.java.svn-base
字號:
package jns.command;
import jns.Simulator;
/**
A StopCommand can be schedule at any time to forcefully interrupt the
simulator. Some simulations can go on forever so this is quite useful.
*/
public class StopCommand extends Command
{
public StopCommand(double time)
{
super("Stop", time);
}
/**
Just set the finished flag in the simulator.
*/
public void execute()
{
Simulator.getInstance().setFinished();
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -