📄 main.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 + -