本作品为本人本科二年级课程作业成果。店客房管理信息系统是基于Java开发的管理系统软件。使用Eclipse IDE 开发,JDK版本为10.0.1。资源中附有店客房管理信息系统项目的所有源代码,另外还附有该系统的设计文档,文档中写明了该系统的详细设计实现过程。仅适用于软件、计算机专业的实训和课程作业的参考!
如有任何疑问,请邮件联系博主 jianpengliao@outlook.com
如有任何疑问,请邮件联系博主 jianpengliao@outlook.com
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2019-12-19 17:15 店客房管理信息系统
文件 647 2019-12-19 17:17 店客房管理信息系统Reedme.txt
目录 0 2019-12-19 17:14 店客房管理信息系统源代码
目录 0 2019-12-19 17:14 店客房管理信息系统源代码HotelManagerSystem
文件 3201 2018-06-27 15:28 店客房管理信息系统源代码HotelManagerSystem.classpath
文件 394 2018-06-26 03:33 店客房管理信息系统源代码HotelManagerSystem.project
目录 0 2019-12-19 17:14 店客房管理信息系统源代码HotelManagerSystem.settings
文件 89 2018-07-02 10:12 店客房管理信息系统源代码HotelManagerSystem.settingsorg.eclipse.core.resources.prefs
文件 595 2018-06-24 13:16 店客房管理信息系统源代码HotelManagerSystem.settingsorg.eclipse.jdt.core.prefs
目录 0 2019-12-19 17:14 店客房管理信息系统源代码HotelManagerSystemin
目录 0 2019-12-19 17:14 店客房管理信息系统源代码HotelManagerSystemincom
目录 0 2019-12-19 17:14 店客房管理信息系统源代码HotelManagerSystemincomHotelMnager
文件 1721 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminBookInWin$1.class
文件 2040 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminBookInWin$2.class
文件 1611 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminBookInWin$3.class
文件 774 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminBookInWin$4.class
文件 732 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminBookInWin$5.class
文件 748 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminBookInWin$6.class
文件 6980 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminBookInWin.class
文件 1801 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminExchangeRoomWin$1.class
文件 2122 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminExchangeRoomWin$2.class
文件 1659 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminExchangeRoomWin$3.class
文件 816 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminExchangeRoomWin$4.class
文件 768 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminExchangeRoomWin$5.class
文件 790 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminExchangeRoomWin$6.class
文件 6795 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminExchangeRoomWin.class
文件 1005 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminMainWin$1.class
文件 766 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminMainWin$10.class
文件 766 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminMainWin$11.class
文件 963 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminMainWin$2.class
文件 963 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminMainWin$3.class
............此处省略176个文件信息
package com.HotelMnager;
import java.awt.Color;
import java.awt.Font;
import java.awt.Image;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.util.Vector;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.Jframe;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.border.EmptyBorder;
import javax.swing.border.LineBorder;
import javax.swing.table.DefaultTableModel;
public class AdminBookInWin extends Jframe {
/**
*
*/
private static final long serialVersionUID = 3L;
private JPanel contentPane;
private JTable table;
private Vector> rowDate;
private Vector rowName;
private JButton buttonAlter;
private JButton buttonAdd;
private JButton buttonDelete;
private Bill bill;
private JButton buttonCancel;
DefaultTableModel model;
private JButton buttonRenew;
private JScrollPane JSP;
public AdminBookInWin() {
settitle(“u767Bu8BB0u5165u4F4Fu7BA1u7406“);
setDefaultCloseOperation(Jframe.DISPOSE_ON_CLOSE);
setBounds(280 40 1150 800);
contentPane = new JPanel();
contentPane.setBorder(new EmptyBorder(5 5 5 5));
setContentPane(contentPane);
contentPane.setLayout(null);
//添加背景图片
ImageIcon background;
JLabel backgroundLabel = new JLabel(““);
background = new ImageIcon(“image\BG2.jpg“);
//图片适应窗口大小
Image temp = background.getImage().getScaledInstance(this.getWidth() this.getHeight() Image.SCALE_DEFAULT);
background = new ImageIcon(temp);
backgroundLabel.setBounds(0 0 background.getIconWidth()background.getIconHeight());
backgroundLabel.setIcon(background);
getRootPane().add(backgroundLabel);
getContentPane().setBackground(new Color(0000));
bill=new Bill();
tablePaint();
//更改
buttonAlter = new JButton(“u66F4u6539“);
buttonAlter.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
int row = table.getSelectedRow();//获取选中的行号
if(row<0)
return;
boolean d=checkAlter(row);
if(d==false)
{
JOptionPane.showMessageDialog(table “输入数据有误失败,请重试!“ “错误提示“ JOptionPane.ERROR_MESSAGE);
model.fireTableDataChanged(); //刷新
return;
}
tableAlter(row);
boolean c = Main.jDB.AdminBookInRenew(bill);
if(c==false)
JOptionPane.showMessageDialog(table “更改失败,请重试!“ “错误提示“ JOptionPane.ERROR_MESSAGE);
else
model.fireTableDataChanged(); //刷新
}
});
buttonAlter.setFont(new Font(“宋体“ Font.PLAIN 17));
buttonAlter.setBounds(672 549 80 30);
contentPane.add(buttonAlter);
//增加
but
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2019-12-19 17:15 店客房管理信息系统
文件 647 2019-12-19 17:17 店客房管理信息系统Reedme.txt
目录 0 2019-12-19 17:14 店客房管理信息系统源代码
目录 0 2019-12-19 17:14 店客房管理信息系统源代码HotelManagerSystem
文件 3201 2018-06-27 15:28 店客房管理信息系统源代码HotelManagerSystem.classpath
文件 394 2018-06-26 03:33 店客房管理信息系统源代码HotelManagerSystem.project
目录 0 2019-12-19 17:14 店客房管理信息系统源代码HotelManagerSystem.settings
文件 89 2018-07-02 10:12 店客房管理信息系统源代码HotelManagerSystem.settingsorg.eclipse.core.resources.prefs
文件 595 2018-06-24 13:16 店客房管理信息系统源代码HotelManagerSystem.settingsorg.eclipse.jdt.core.prefs
目录 0 2019-12-19 17:14 店客房管理信息系统源代码HotelManagerSystemin
目录 0 2019-12-19 17:14 店客房管理信息系统源代码HotelManagerSystemincom
目录 0 2019-12-19 17:14 店客房管理信息系统源代码HotelManagerSystemincomHotelMnager
文件 1721 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminBookInWin$1.class
文件 2040 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminBookInWin$2.class
文件 1611 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminBookInWin$3.class
文件 774 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminBookInWin$4.class
文件 732 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminBookInWin$5.class
文件 748 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminBookInWin$6.class
文件 6980 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminBookInWin.class
文件 1801 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminExchangeRoomWin$1.class
文件 2122 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminExchangeRoomWin$2.class
文件 1659 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminExchangeRoomWin$3.class
文件 816 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminExchangeRoomWin$4.class
文件 768 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminExchangeRoomWin$5.class
文件 790 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminExchangeRoomWin$6.class
文件 6795 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminExchangeRoomWin.class
文件 1005 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminMainWin$1.class
文件 766 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminMainWin$10.class
文件 766 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminMainWin$11.class
文件 963 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminMainWin$2.class
文件 963 2018-07-02 19:28 店客房管理信息系统源代码HotelManagerSystemincomHotelMnagerAdminMainWin$3.class
............此处省略176个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)