myapp.java

来自「Java Op Processor java vhdl processor」· Java 代码 · 共 43 行

JAVA
43
字号
/* * Created on 22.10.2003 * * To change the template for this generated file go to * Window>Preferences>Java>Code Generation>Code and Comments */package testrj;import javax.realtime.AbsoluteTime;import javax.realtime.RelativeTime;import ravenscar.*;/** * @author martin * * To change the template for this generated type comment go to * Window>Preferences>Java>Code Generation>Code and Comments */public class MyApp extends Initializer {	public void run() {		// init		new PeriodicThread(			new PriorityParameters(10),			new PeriodicParameters(				new AbsoluteTime(0, 0),				new RelativeTime(100, 0)			),			new Runnable() {				public void run() {					System.out.print("*");				}			}		);	}	public static void main(String[] args) {		MyApp ma = new MyApp();		ma.start();	}}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?