⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 main.java

📁 操作系统课程设计:页面置换算法!!!很好的操作系统大作业
💻 JAVA
字号:
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package app;import java.awt.Dimension;import java.awt.Rectangle;import java.awt.Toolkit;import javax.swing.SwingUtilities;import javax.swing.UIManager;/** * * @author Administrator */public class Main {    Main()    {        Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();        DemoFrame frame = new DemoFrame();        frame.setVisible(true);        frame.setBounds(new Rectangle(600,720));        frame.setLocation((screenSize.width-600)/2, (screenSize.height-720)/2);    }    /**     * @param args the command line arguments     */    public static void main(String[] args) {        SwingUtilities.invokeLater(new Runnable() {            public void run() {                try {                    try {                        UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());                    } catch (Exception exception) {}                    new Main();                } catch (Exception ex) {}            }        });       }}

⌨️ 快捷键说明

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