memory.java
来自「用JAVA实现的模拟内存管理程序」· Java 代码 · 共 29 行
JAVA
29 行
import javax.swing.JFrame;
/*
* Created on 2004-5-19
*
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
/**
* @author 李秋军(010200)
*
* To change the template for this generated type comment go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
public class Memory
{
public static void main(String[] args)
{
JFrame frame = new MemFrame();
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setTitle("内存分配算法演示");
frame.setLocation(100, 50);
frame.setResizable(false);
frame.setSize(800, 600);
frame.setVisible(true);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?