smainmenuno2.java~2~

来自「管理系统」· JAVA~2~ 代码 · 共 59 行

JAVA~2~
59
字号
package com.aptech.cdjj.sex.test;

/**
 * <p>Title: </p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2007</p>
 *
 * <p>Company: </p>
 *
 * @author not attributable
 * @version 1.0
 */
import javax.swing.*;
import java.awt.GridBagLayout;
import java.awt.*;

public class SMainMenuNO2 extends JFrame {

    SMainMenuNO2(){
        try {
            jbInit();
        } catch (Exception ex) {
            ex.printStackTrace();
        }
        this.setSize(750,550);
        this.setVisible(true);
    }

    public static void main(String[] args) {
        SMainMenuNO2 smainmenuno2 = new SMainMenuNO2();
    }

    private void jbInit() throws Exception {
        this.getContentPane().setLayout(gridBagLayout1);
        this.setJMenuBar(jMenuBar1);
        jPanel1.setLayout(gridBagLayout2);
        jMenu1.setText("4154");
        jMenuBar1.add(jMenu1);
        this.getContentPane().add(jPanel1,
                                  new GridBagConstraints(3, 2, 1, 1, 0.0, 0.0
                , GridBagConstraints.CENTER, GridBagConstraints.NONE,
                new Insets(0, 0, 0, 0), 0, 0));
        this.getContentPane().add(jSplitPane1,
                                  new GridBagConstraints(0, 3, 1, 1, 0.0, 0.0
                , GridBagConstraints.CENTER, GridBagConstraints.NONE,
                new Insets(0, 0, 0, 0), 0, 0));

    }

    GridBagLayout gridBagLayout1 = new GridBagLayout();
    JPanel jPanel1 = new JPanel();
    GridBagLayout gridBagLayout2 = new GridBagLayout();
    JMenuBar jMenuBar1 = new JMenuBar();
    JMenu jMenu1 = new JMenu();
    JSplitPane jSplitPane1 = new JSplitPane();
}

⌨️ 快捷键说明

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