SCAU-OS 模拟文件系统的实现
操作系统课设,模拟文件系统的实现,语言Java,基于JavaSwing实现的程序可视化,程序直接运行就可以了。
本人华南农业大学,软件工程在读,如本校学操作系统的同学,课程设计选择同样的题目,可以参考、借鉴、复制
代码太多,无法直接放上来,有需要的可以去访问gitee,链接如下(免费):
gitee超链接(点击即可)
或者可以直接私聊我。
程序运行界面大致如下:
部分代码如下:
public class MyFrame {
public static JFrame frame;
// 我的电脑窗口
public static PersonalFrame computerFrame;
// MyFile类集合
public static ArrayList<MyFile> myFiles= new ArrayList<>();
// 存储每个文件按钮
public static ArrayList<JButton> buttons = new ArrayList<>();
// 桌面按钮
public static ArrayList<JButton> mainButtons = new ArrayList<>();
// 存储每个文件 和 其对应窗口的List
public static ArrayList<FileAndFrame> frameArrayList = new ArrayList<>();
// 文件盘块分配表
public static FAT fat = new FAT();
// 整个程序保存文件的地方
public String savePlace = "D:\\OSdata";
// 记录当前点击的文件按钮
public static MyFile nowFile;
// 记录当前点击的按钮
public static JButton nowButton;
public DataStore dataStore = new DataStore();
}