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

📄 cardframe.java~2~

📁 机房网吧刷卡计费
💻 JAVA~2~
字号:
package cn.com.S1t55.killer.view;

import java.awt.BorderLayout;
import java.awt.Dimension;

import javax.swing.JFrame;
import javax.swing.JPanel;
import java.util.ArrayList;
import cn.com.S1t55.killer.entity.Card; //导入学员的实体类
import cn.com.S1t55.killer.business.CardBusiness;
/**
 * <p>Title: </p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2007</p>
 *
 * <p>Company: </p>
 *
 * @author not attributable
 * @version 1.0
 */
public class CardFrame extends JFrame {
    int weiZhi = 0; //纪录集合类提取元素的下标。
    ArrayList arr = CardBusiness.select();
    JPanel contentPane;
    BorderLayout borderLayout1 = new BorderLayout();
    JLabel jLabel1 = new JLabel();
      JLabel jLabel2 = new JLabel();
      JLabel jLabel3 = new JLabel();
      JLabel jLabel4 = new JLabel();
      JTextField txtXueHao = new JTextField();
      JTextField txtXingBie = new JTextField();
      JTextField txtXingMing = new JTextField();
      JTextField txtNianLing = new JTextField();
      JPanel jPanel1 = new JPanel();
      JButton btnDiYi = new JButton();
      JButton btnQian = new JButton();
      JButton btnHou = new JButton();
      JButton btnZuiHou = new JButton();

    public CardFrame() {
        try {
            setDefaultCloseOperation(EXIT_ON_CLOSE);
            jbInit();
        } catch (Exception exception) {
            exception.printStackTrace();
        }
    }

    /**
     * Component initialization.
     *
     * @throws java.lang.Exception
     */
    private void jbInit() throws Exception {
        contentPane = (JPanel) getContentPane();
        contentPane.setLayout(borderLayout1);
        setSize(new Dimension(400, 300));
        setTitle("查询卡信息");
    }
}

⌨️ 快捷键说明

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