/*
* MainJFrame.java
*
* Created on __DATE__, __TIME__
*/
package org.hdxy.zml.main;
import java.awt.Container;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.util.Date;
import org.hdxy.zml.factory.DAOFactory;
import org.hdxy.zml.vo.Card;
import org.hdxy.zml.vo.Computer;
import org.hdxy.zml.vo.Record;
/**
*
* @author __USER__
*/
public class MainJFrame extends javax.swing.JFrame {
/** Creates new form MainJFrame */
private boolean flag = false;
Card card = new Card();
Computer computer = new Computer();
Record record = new Record();
Date now = new Date();
public MainJFrame() {
super("网吧计费管理系统");
initComponents();
}
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
*/
//GEN-BEGIN:initComponents
// <editor-fold defaultstate="collapsed" desc="Generated Code">
private void initComponents() {
upMenu = new javax.swing.JPanel();
jLabel3 = new javax.swing.JLabel();
jLabel4 = new javax.swing.JLabel();
jLabel5 = new javax.swing.JLabel();
jLabel6 = new javax.swing.JLabel();
jComboBox1 = new javax.swing.JComboBox();
jTextField1 = new javax.swing.JTextField();
jTextField2 = new javax.swing.JTextField();
jTextField3 = new javax.swing.JTextField();
jButton1 = new javax.swing.JButton();
jButton2 = new javax.swing.JButton();
jLabel22 = new javax.swing.JLabel();
downMenu = new javax.swing.JPanel();
jLabel7 = new javax.swing.JLabel();
jComboBox2 = new javax.swing.JComboBox();
jLabel8 = new javax.swing.JLabel();
jTextField4 = new javax.swing.JTextField();
jButton3 = new javax.swing.JButton();
jButton4 = new javax.swing.JButton();
jLabel23 = new javax.swing.JLabel();
downRecord = new javax.swing.JPanel();
jLabel9 = new javax.swing.JLabel();
jLabel10 = new javax.swing.JLabel();
jLabel11 = new javax.swing.JLabel();
jLabel12 = new javax.swing.JLabel();
jLabel13 = new javax.swing.JLabel();
jLabel14 = new javax.swing.JLabel();
jLabel24 = new javax.swing.JLabel();
jLabel25 = new javax.swing.JLabel();
jLabel26 = new javax.swing.JLabel();
jLabel27 = new javax.swing.JLabel();
jLabel28 = new javax.swing.JLabel();
jLabel29 = new javax.swing.JLabel();
jLabel30 = new javax.swing.JLabel();
info = new javax.swing.JPanel();
jLabel15 = new javax.swing.JLabel();
jLabel16 = new javax.swing.JLabel();
upSuccess = new javax.swing.JPanel();
jLabel17 = new javax.swing.JLabel();
jLabel18 = new javax.swing.JLabel();
jLabel20 = new javax.swing.JLabel();
jScrollPane1 = new javax.swing.JScrollPane();
jTextArea1 = new javax.swing.JTextArea();
jLabel31 = new javax.swing.JLabel();
jLabel32 = new javax.swing.JLabel();
infoFrame = new javax.swing.JFrame();
jLabel19 = new javax.swing.JLabel();
jLabel21 = new javax.swing.JLabel();
jPanel1 = new javax.swing.JPanel();
jLabel1 = new javax.swing.JLabel();
jLabel2 = new javax.swing.JLabel();
jMenuBar1 = new javax.swing.JMenuBar();
jMenu1 = new javax.swing.JMenu();
jMenuItem1 = new javax.swing.JMenuItem();
jMenuItem2 = new javax.swing.JMenuItem();
jMenu2 = new javax.swing.JMenu();
jMenuItem3 = new javax.swing.JMenuItem();
jMenu3 = new javax.swing.JMenu();
jMenuItem4 = new javax.swing.JMenuItem();
jLabel3.setText("\u673a\u5668\u53f7\uff1a");
jLabel4.setText("\u5361 \u53f7\uff1a");
jLabel5.setText("\u5bc6 \u7801\uff1a");
jLabel6.setText("\u5f00\u59cb\u65f6\u95f4\uff1a");
jComboBox1.setModel(new javax.swing.DefaultComboBoxModel(new String[] {
"1", "2", "3", "4", "5" }));
jTextField1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jTextField1ActionPerformed(evt);
}
});
jButton1.setText("\u786e \u5b9a");
jButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton1ActionPerformed(evt);
}
});
jButton2.setText("\u91cd \u7f6e");
javax.swing.GroupLayout upMenuLayout = new javax.swing.GroupLayout(
upMenu);
upMenu.setLayout(upMenuLayout);
upMenuLayout
.setHorizontalGroup(upMenuLayout
.createParallelGroup(
javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(
javax.swing.GroupLayout.Alignment.TRAILING,
upMenuLayout
.createSequentialGroup()
.addGap(79, 79, 79)
.addGroup(
upMenuLayout
.createParallelGroup(
javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(
upMenuLayout
.createSequentialGroup()
.addGap(
10,
10,
10)
.addComponent(
jButton1)
.addPreferredGap(
javax.swing.LayoutStyle.ComponentPlacement.RELATED,
116,
Short.MAX_VALUE)
.addComponent(
jButton2)
.addGap(
77,
77,
77))
.addGroup(
upMenuLayout
.createSequentialGroup()
.addGroup(
upMenuLayout
.createParallelGroup(
javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(
jLabel3)
.addComponent(
jLabel4)
.addComponent(
jLabel5)
.addComponent(
jLabel6))
.addGap(
39,
39,
39)
.addGroup(
upMenuLayout
.createParallelGroup(
javax.swing.GroupLayout.Alignment.LEADING,
false)
.addComponent(
jTextField3)
.addComponent(
jTextField2)
.addComponent(
jTextField1)
.addComponent(
jComboBox1,
0,
160,
Short.MAX_VALUE))
.addPreferredGap(
javax.swing.LayoutStyle.ComponentPlacement.RELATED,
5,
Short.MAX_VALUE)))
.addGap(28, 28, 28)).addGroup(
upMenuLayout.createSequentialGroup().addGap(
130, 130, 130).addComponent(jLabel22,
javax.swing.GroupLayout.PREFERRED_SIZE,
276,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(42, Short.MAX_VALUE)));
upMenuLayout
.setVerticalGroup(upMenuLayout
.createParallelGroup(
javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(
upMenuLayout
.createSequentialGroup()
.addGap(22, 22, 22)
.addGroup(
upMenuLayout
.createParallelGroup(
javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel3)
.addComponent(
jComboBox1,
javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(33, 33, 33)
.addGroup(
upMenuLayout
.createParallelGroup(
javax.swing.GroupLayout.Alignment.BASELIN
没有合适的资源?快使用搜索试试~ 我知道了~
jdbc.rar_jdbc_jdbc系统
共39个文件
class:21个
java:13个
form:2个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 94 浏览量
2022-09-19
19:43:15
上传
评论
收藏 44KB RAR 举报
温馨提示
利用jdbc写的简单的网吧管理系统,分享一下
资源推荐
资源详情
资源评论
收起资源包目录
jdbc.rar (39个子文件)
jdbc
bin
org
hdxy
zml
dbc
DatabaseConnection.class 1KB
dao
proxy
UserDAOProxy.class 4KB
IUserUpDAO.class 286B
IUserCheckDAO.class 252B
IUserDownDAO.class 408B
impl
UserDownDAOImpl.class 5KB
UserUpDAOImpl.class 3KB
UserCheckDAOImpl.class 2KB
factory
DAOFactory.class 609B
main
MainJFrame$7.class 805B
MainJFrame$8.class 568B
MainJFrame$5.class 901B
MainJFrame$2.class 805B
MainJFrame$4.class 901B
MainJFrame$3.class 805B
MainJFrame$1.class 805B
MainJFrame.class 20KB
MainJFrame$6.class 805B
MainJFrame.form 40KB
vo
Computer.class 950B
Card.class 1KB
Record.class 1KB
.settings
org.eclipse.jdt.core.prefs 629B
src
org
hdxy
zml
dbc
DatabaseConnection.java 877B
dao
IUserCheckDAO.java 208B
proxy
UserDAOProxy.java 3KB
IUserDownDAO.java 351B
IUserUpDAO.java 258B
impl
UserCheckDAOImpl.java 2KB
UserDownDAOImpl.java 4KB
UserUpDAOImpl.java 2KB
factory
DAOFactory.java 400B
main
MainJFrame.java 40KB
MainJFrame.form 40KB
vo
Card.java 698B
Computer.java 501B
Record.java 1KB
.project 380B
.classpath 383B
共 39 条
- 1
资源评论
JonSco
- 粉丝: 75
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功