📄 mainfunction.java
字号:
package design;
import javax.swing.UIManager;
import design.*;
/**
* <p>Title: 操作系统课程设计</p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2003</p>
* <p>Company: </p>
* @author 胡波
* @version 1.0
*/
public class MainFunction extends MainFrame {
static long sl=500;
public MainFunction() {
}
public static void main(String[] args) {
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
}
catch(Exception e) {
e.printStackTrace();
}
MainFrame f=new MainFrame();
f.show();
int[] a=new int[]{0,3,2,5};
Sys_process p=new Sys_process(512,a);
p.start();
Process_productor pp=new Process_productor(p);
pp.start();
while(true){
f.setTable(p);
try{
java.lang.Thread.sleep(sl);
}
catch(Exception e){
e.printStackTrace();
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -