资源简介
数据库课程课程设计中的客房管理系统,实现了客房的预定、入住、结算、客房的查询,账单收入统计
![](http://www.nz998.com/pic/61244.jpg)
代码片段和文件信息
package anotherui;
import java.awt.BorderLayout;
import java.awt.EventQueue;
import javax.swing.Jframe;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JScrollPane;
import javax.swing.GroupLayout;
import javax.swing.GroupLayout.Alignment;
import javax.swing.Layoutstyle.ComponentPlacement;
import javax.swing.JTable;
import javax.swing.border.titledBorder;
import javax.swing.table.DefaultTableModel;
import ComplexobjectClass.EmptyRoomInformationTable;
import ComplexobjectClass.EmptyRoomInformationTableDao;
import ComplexobjectClass.EmptyRoomInformationTableDaoImp;
import objectClass.Customer;
import objectClass.CustomerDao;
import objectClass.CustomerDaoImp;
import objectClass.Room;
import objectClass.RoomDao;
import objectClass.RoomDaoImp;
import UI.MessageAndShowNewsWindow;
import javax.swing.UIManager;
import java.awt.Color;
import javax.swing.JTextField;
import javax.swing.JLabel;
import javax.swing.JComboBox;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.util.ArrayList;
import java.util.List;
import java.util.Vector;
import java.awt.event.ActionEvent;
public class CuReserveRoom extends Jframe {
private JPanel contentPane;
private JTable emptyRoomTable;
private JTable reserveCustomerTable;
private JTextField customerNoText;
private JTextField customerNameText;
private JTextField customerPhoneText;
private JTextField customerCardText;
private JTextField roomNoText;
private JTextField searchCustomerNoText;
Vector columnNames=new Vector<>();
Vector allRows=new Vector<>();
Vector customerColumnNames=new Vector<>();
Vector allCustomerRow=new Vector<>();
String customerSex=“男“;
String customerPayStatus=“未结账未付定金“;
private JTextField reserveTimeText;
private JTextField reserveTimeLongText;
MessageAndShowNewsWindow messageAndShowNewsWindow;
/**
* Launch the application.
*/
/*public static void main(String[] args) {
EventQueue.invokeLater(new Runnable() {
public void run() {
try {
ReserveRoom frame = new ReserveRoom();
frame.setVisible(true);
} catch (Exception e) {
e.printStackTrace();
}
}
});
}*/
/**
* Create the frame.
*/
public CuReserveRoom(MessageAndShowNewsWindow messageAndShowNewsWindow1) {
messageAndShowNewsWindow=messageAndShowNewsWindow1;
settitle(“\u9884\u5B9A\u623F\u95F4“);
setDefaultCloseOperation(Jframe.EXIT_ON_CLOSE);
setBounds(100 100 855 504);
contentPane = new JPanel();
contentPane.setBorder(new EmptyBorder(5 5 5 5));
setContentPane(contentPane);
JPanel panel = new JPanel();
panel.setBounds(5 5 824 143);
JLabel label = new JLabel(“\u987E\u5BA2\u53F7\uFF1A“);
label.setBounds(24 20 58 15);
customerNoText = new JTextField();
cus
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-07-01 22:36 客房管理系统\
目录 0 2018-07-01 22:40 客房管理系统\客房管理系统\
目录 0 2018-07-01 21:25 客房管理系统\客房管理系统\housesystem数据库\
文件 180224 2018-06-29 14:54 客房管理系统\客房管理系统\housesystem数据库\customer.ibd
文件 114688 2018-06-29 11:07 客房管理系统\客房管理系统\housesystem数据库\food.ibd
文件 114688 2018-07-01 20:41 客房管理系统\客房管理系统\housesystem数据库\housebill.ibd
文件 114688 2018-06-28 10:42 客房管理系统\客房管理系统\housesystem数据库\housenews.ibd
文件 114688 2018-06-28 11:45 客房管理系统\客房管理系统\housesystem数据库\message.ibd
文件 114688 2018-06-29 11:32 客房管理系统\客房管理系统\housesystem数据库\nowuser.ibd
文件 114688 2018-07-01 20:41 客房管理系统\客房管理系统\housesystem数据库\outedroomthing.ibd
文件 114688 2018-06-29 14:54 客房管理系统\客房管理系统\housesystem数据库\pastcustomer.ibd
文件 131072 2018-06-29 14:54 客房管理系统\客房管理系统\housesystem数据库\room.ibd
文件 114688 2018-06-19 23:23 客房管理系统\客房管理系统\housesystem数据库\roomstatus.ibd
文件 114688 2018-07-01 20:40 客房管理系统\客房管理系统\housesystem数据库\roomthing.ibd
文件 114688 2018-06-23 16:56 客房管理系统\客房管理系统\housesystem数据库\roomtype.ibd
文件 131072 2018-06-23 12:11 客房管理系统\客房管理系统\housesystem数据库\user.ibd
目录 0 2018-07-01 21:26 客房管理系统\客房管理系统\HouseSystem程序\
文件 466 2018-06-25 14:58 客房管理系统\客房管理系统\HouseSystem程序\.classpath
文件 387 2018-06-19 22:56 客房管理系统\客房管理系统\HouseSystem程序\.project
目录 0 2018-07-01 21:25 客房管理系统\客房管理系统\HouseSystem程序\.settings\
文件 670 2018-06-22 11:27 客房管理系统\客房管理系统\HouseSystem程序\.settings\org.eclipse.jdt.core.prefs
目录 0 2018-07-01 21:26 客房管理系统\客房管理系统\HouseSystem程序\bin\
目录 0 2018-07-01 21:25 客房管理系统\客房管理系统\HouseSystem程序\bin\anotherui\
文件 1104 2018-06-28 14:35 客房管理系统\客房管理系统\HouseSystem程序\bin\anotherui\CuReserveRoom$1.class
文件 705 2018-06-28 14:35 客房管理系统\客房管理系统\HouseSystem程序\bin\anotherui\CuReserveRoom$2.class
文件 2417 2018-06-28 14:35 客房管理系统\客房管理系统\HouseSystem程序\bin\anotherui\CuReserveRoom$3.class
文件 2373 2018-06-29 14:41 客房管理系统\客房管理系统\HouseSystem程序\bin\anotherui\CuReserveRoom$4.class
文件 2214 2018-06-28 14:35 客房管理系统\客房管理系统\HouseSystem程序\bin\anotherui\CuReserveRoom$5.class
文件 950 2018-06-28 14:35 客房管理系统\客房管理系统\HouseSystem程序\bin\anotherui\CuReserveRoom$6.class
文件 883 2018-06-28 14:35 客房管理系统\客房管理系统\HouseSystem程序\bin\anotherui\CuReserveRoom$7.class
文件 6476 2018-06-28 14:35 客房管理系统\客房管理系统\HouseSystem程序\bin\anotherui\CuReserveRoom.class
............此处省略252个文件信息
- 上一篇:Ajax实现实时登录验证
- 下一篇:基于51单片机智能家居的设计.caj
相关资源
- FTP课程设计(服务端+客户端)
- 高频电子线路课程设计报告收音机
- 直流稳压电源的课程设计、安装及调
- EDA课程设计_密码锁
- 单片机课程设计 篮球计分器
- 数据结构课程设计 6 1 彩票系统
- 端口扫描课程设计详细的报告
- 步进电机课程设计(个人设计)
- 校园网络规划与设计课程设计
- 编译原理课程设计:词法语法编译器
-
simuli
nk 课程设计 qpsk - 武汉理工大学 单片机课程设计 16*16点
- 数据库VFP课程设计
- 分页系统模拟实验 操作系统 课程设
- 模拟段页式虚拟存储管理中地址转换
- 硬件课程设计—流水灯(quartus软件
- 超市收银系统eclipse access大学课程设计
- 航空订票系统_数据结构课程设计
- c 课程设计 职工信息管理系统
- 汇编语言,课程设计,红绿灯
- 机床液压系统课程设计卧式钻床动力
- 课程设计蔬菜大棚自动控制系统,包
- 密码学课程设计:DES加密解密算法的
- 操作系统课程设计完整版
- 磁盘调度算法的模拟实现及对比
- PL/0功能扩充break功能
- 数据库课程设计以及指导思想
- ATM自动取款机系统的分析与设计
- 留言板课程设计 报告加设计
- 数据结构课程设计——图书管理系统
评论
共有 条评论