资源简介
数据库课程课程设计中的客房管理系统,实现了客房的预定、入住、结算、客房的查询,账单收入统计
代码片段和文件信息
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
相关资源
- 三路抢答器课程设计报告
- 实现一个简单的shell命令行解释器,类
- 数据库课程设计 教师管理系统
- Linux操作系统管理课程设计
- 基于UML建模的课程设计——毕业设计
- 基于单片机的智能台灯设计
- 地图学课程设计以及模版
- 数据库课程设计--教材科管理系统
- 单片机课程设计---作息时间控制器
- 多路数字抢答器 课程设计
- verilog课程设计 指纹生成器
- 校园导航系统课程设计
- 数据库 考勤管理系统
- CA6140机床 法兰盘课程设计
- 计算机网络课程设计 WireShark网络抓包
- 数据结构课程设计——算数表达式求
- 网络工程课程设计报告
- processing 星空图数据可视化效果
- ARM嵌入式课程设计不错的哦,东西很
- 接口技术 微机原理 课程设计 保证有
- 数字秒表--EDA课程设计完整版(设计报
- 数据结构课程设计--学生成绩管理系统
- 数据库课程设计 医院药品进销存系统
- 微机原理课程设计 交通灯完全版
- 组成原理课程设计--简单微处理器的设
- .net课程设计 商店客户管理系统
- 操作系统课程设计Spooling输入输出模拟
- 精通D3.js书籍源码
- 计算机网络电子政务网站课程设计
- 基于STM32的智能万年历课程设计
评论
共有 条评论