framealldeal.java

来自「基于Java的地图数据管理软件。使用MySQL数据库管理系统。」· Java 代码 · 共 68 行

JAVA
68
字号
package net.aetherial.gis.our.auto.Frame;

import java.awt.*;
import javax.swing.*;
import net.aetherial.gis.our.auto.deal.SelectPanel;
import net.aetherial.gis.surface.ItemValue;
import net.aetherial.gis.our.FrameOur;
import net.aetherial.gis.our.auto.deal.OperPanel;

/**
 * <p>Title: </p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2004</p>
 *
 * <p>Company: </p>
 *
 * @author not attributable
 * @version 1.0
 */
public class FrameAllDeal
    extends JFrame {
  FrameOur fo = null;
  BorderLayout borderLayout1 = new BorderLayout();
  JLabel jLabel1 = new JLabel();
  JSplitPane jSplitPane1 = new JSplitPane();
  OperPanel jPanel1 = new OperPanel();
  JPanel jPanel2 = new JPanel();
  public FrameAllDeal(FrameOur fo) {
    this.fo = fo;
    try {
      jbInit();
    }
    catch (Exception exception) {
      exception.printStackTrace();
    }
  }
  private void initShow(){
      Dimension screenDim = Toolkit.getDefaultToolkit().getScreenSize();
      this.setTitle("批处理文件");
      this.setSize(500, 600);
      this.setLocation(
          (screenDim.width - 500) / 2,
          (screenDim.height - 600) / 2
          );
      this.setIconImage(ItemValue.getImage("HSDIlogo.gif"));
  }

  private void jbInit() throws Exception {
    getContentPane().setLayout(borderLayout1);
    jLabel1.setFont(new java.awt.Font("Dialog", Font.PLAIN, 16));
    jLabel1.setHorizontalAlignment(SwingConstants.CENTER);
    jLabel1.setText("批处理数据");
    jSplitPane1.setOrientation(JSplitPane.VERTICAL_SPLIT);
    this.getContentPane().add(jLabel1, java.awt.BorderLayout.NORTH);
    this.getContentPane().add(jSplitPane1, java.awt.BorderLayout.CENTER);
    jSplitPane1.add(jPanel1, JSplitPane.LEFT);
    jSplitPane1.add(jPanel2, JSplitPane.RIGHT);
    this.initShow();
//    jPanel1.setJFrame(this);
  }

  public static void main(String[] args) {
    FrameAllDeal framealldeal = new FrameAllDeal(null);
  }
}

⌨️ 快捷键说明

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