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

📄 inoutframe.java~2~

📁 eidtplus注册码.txt eidtplus注册码.txt
💻 JAVA~2~
字号:
package parkingsystem;

import java.awt.*;
import javax.swing.*;
import java.awt.BorderLayout;
import java.awt.Rectangle;

/**
 * <p>Title: 停车场系统</p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2006</p>
 *
 * <p>Company: </p>
 *
 * @author jok
 * @version 1.0
 */
public class InOutFrame
    extends JFrame {

  public InOutFrame() {
    try {
      jbInit();
    }
    catch (Exception exception) {
      exception.printStackTrace();
    }
  }


  private void jbInit() throws Exception {
    this.setTitle("欢迎使用停车场进出管理系统");
    getContentPane().setLayout(null);
    jLabel1.setText("选择操作类型:");
    jLabel1.setBounds(new Rectangle(46, 32, 105, 27));
    jLabel3.setText("选择卡类型:");
    jLabel3.setBounds(new Rectangle(46, 147, 105, 27));
    jTextField1.setBounds(new Rectangle(163, 93, 131, 23));
    jComboBox1.setBounds(new Rectangle(164, 142, 154, 29));
    jButton1.setBounds(new Rectangle(69, 220, 103, 34));
    jButton1.setText("确   定");
    jButton2.setBounds(new Rectangle(215, 220, 103, 34));
    jButton2.setText("重   置 ");
    jComboBox1.addItem("");
    jComboBox1.addItem("长期卡");
    jComboBox1.addItem("次卡");
    jRadioButton1.setSelected(true);
    this.getContentPane().add(jLabel2);
    jRadioButton2.setText("出场");
    jRadioButton2.setBounds(new Rectangle(243, 33, 103, 23));
    jRadioButton1.setText("入场");
    jRadioButton1.setBounds(new Rectangle(161, 33, 74, 23));
    this.getContentPane().add(jLabel1);
    this.getContentPane().add(jLabel3);
    this.getContentPane().add(jButton1);
    this.getContentPane().add(jButton2);
    this.getContentPane().add(jRadioButton1);
    this.getContentPane().add(jRadioButton2);
    this.getContentPane().add(jTextField1);
    this.getContentPane().add(jComboBox1);
    jLabel2.setText("请输入卡号:");
    jLabel2.setBounds(new Rectangle(46, 91, 105, 27));
    buttonGroup1.add(jRadioButton1);
    buttonGroup1.add(jRadioButton2);
  }

  JLabel jLabel1 = new JLabel();
  JLabel jLabel2 = new JLabel();
  JLabel jLabel3 = new JLabel();
  JRadioButton jRadioButton1 = new JRadioButton();
  JRadioButton jRadioButton2 = new JRadioButton();
  JTextField jTextField1 = new JTextField();
  ButtonGroup buttonGroup1 = new ButtonGroup();
  JComboBox jComboBox1 = new JComboBox();
  JButton jButton1 = new JButton();
  JButton jButton2 = new JButton();
}

⌨️ 快捷键说明

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