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

📄 newframe.java

📁 基于Java的地图数据管理软件。使用MySQL数据库管理系统。
💻 JAVA
字号:
package net.aetherial.gis.surface.design;

import java.awt.*;
import javax.swing.*;
import net.aetherial.gis.surface.ItemValue;
import net.aetherial.gis.surface.FrameMain;
import net.sourceforge.mlf.metouia.MetouiaLookAndFeel;

/**
 * <p>Title: </p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2004</p>
 *
 * <p>Company: </p>
 *
 * @author not attributable
 * @version 1.0
 */
public class NewFrame
    extends JFrame {
  BorderLayout borderLayout1 = new BorderLayout();
  NewMenuBar jMenuBar = new NewMenuBar(this);
  public NewFrame() {
    try {
      jbInit();
    }
    catch (Exception exception) {
      exception.printStackTrace();
    }
  }

  private void jbInit() throws Exception {
    getContentPane().setLayout(borderLayout1);
    this.setDefaultCloseOperation(EXIT_ON_CLOSE);
    this.setJMenuBar(jMenuBar);
  }

  public static void main(String[] args) {
    try {

      UIManager.setLookAndFeel(new MetouiaLookAndFeel());
    }
    catch (Exception ex) {
    }
    Dimension screenDim = Toolkit.getDefaultToolkit().getScreenSize();

    NewFrame nf = new NewFrame();
    nf.setIconImage(ItemValue.getImage("HSDIlogo.gif"));
    nf.setTitle(ItemValue.SOFTWARE_NAME);

    nf.setSize(830, 600);
    nf.setLocation(
        (screenDim.width - 830) / 2,
        (screenDim.height - 600) / 2
        );
    nf.show();
  }
}

⌨️ 快捷键说明

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