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

📄 peoplepanel.java

📁 是适合于使用的管理系统 可以在现实中使用
💻 JAVA
字号:
package mysiloer;

import java.awt.*;
import javax.swing.*;
import com.borland.jbcl.layout.BoxLayout2;

/**
 * <p>Title: MySiloer</p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2005</p>
 * <p>Company: yskey</p>
 * @author 杨涛
 * @version 1.0
 */

public class PeoplePanel extends JPanel {
  private JSplitPane jSplitPane = new JSplitPane();
  private BorderLayout borderLayout1 = new BorderLayout();
  private JPanel jPanel1 = new JPanel();
  private JToggleButton materialButton = new JToggleButton();
  private JSplitPane jSplitPane1 = new JSplitPane();
  private BoxLayout2 boxLayout21 = new BoxLayout2();
  private JToggleButton productButton = new JToggleButton();
  private Component component2;
  private Component component3;
  private JPanel jPanel2 = new JPanel();
  private JButton updateButton = new JButton();
  private FlowLayout flowLayout1 = new FlowLayout();
  private JButton selectButton = new JButton();
  private Component component4;
  private JLabel jLabel1 = new JLabel();
  private Component component1;

  public PeoplePanel() {
    try {
      jbInit();
    }
    catch(Exception ex) {
      ex.printStackTrace();
    }
  }
  void jbInit() throws Exception {
    component2 = Box.createVerticalStrut(64);
    component3 = Box.createVerticalStrut(97);
    component4 = Box.createHorizontalStrut(8);
    component1 = Box.createVerticalStrut(84);
    this.setLayout(borderLayout1);
    jSplitPane.setLeftComponent(jPanel1);
    materialButton.setText("原材料库");
    jPanel1.setLayout(boxLayout21);
    boxLayout21.setAxis(BoxLayout.Y_AXIS);
    productButton.setMaximumSize(new Dimension(81, 27));
    productButton.setMinimumSize(new Dimension(81, 27));
    productButton.setPreferredSize(new Dimension(81, 27));
    productButton.setText("成品库");
    jSplitPane1.setOrientation(JSplitPane.VERTICAL_SPLIT);
    updateButton.setText("更新库存");
    jPanel2.setLayout(flowLayout1);
    selectButton.setMaximumSize(new Dimension(83, 29));
    selectButton.setPreferredSize(new Dimension(83, 29));
    selectButton.setText("查    询");
    jLabel1.setText("                                              ");
    this.add(jSplitPane,  BorderLayout.CENTER);
    jSplitPane.add(jPanel1, JSplitPane.TOP);
    jPanel1.add(component1, null);
    jPanel1.add(materialButton, null);
    jPanel1.add(component2, null);
    jPanel1.add(productButton, null);
    jPanel1.add(component3, null);
    jSplitPane.add(jSplitPane1, JSplitPane.BOTTOM);
    jSplitPane1.add(jPanel2, JSplitPane.TOP);
    jPanel2.add(selectButton, null);
    jPanel2.add(component4, null);
    jPanel2.add(jLabel1, null);
    jPanel2.add(updateButton, null);
  }
}

⌨️ 快捷键说明

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