-
大小: 3.32MB文件類(lèi)型: .rar金幣: 2下載: 0 次發(fā)布日期: 2023-09-20
- 語(yǔ)言: Java
- 標(biāo)簽: java??C/S??管理系統(tǒng)??
資源簡(jiǎn)介
C/S端的簡(jiǎn)單DVD租賃系統(tǒng),大二時(shí)開(kāi)發(fā)的項(xiàng)目,基于java開(kāi)發(fā),功能齊全。主要功能模塊為:查看DVD/增加DVD/借出DVD/歸還DVD/刪除DVD / 員工管理/客戶管理/登陸注冊(cè)等。。資源含有源碼以及項(xiàng)目的可運(yùn)行程序。

代碼片段和文件信息
package?com.chinasofi.dvd.controller;
import?java.awt.BorderLayout;
import?java.awt.EventQueue;
import?javax.swing.Jframe;
import?javax.swing.JPanel;
import?javax.swing.border.EmptyBorder;
import?javax.swing.plaf.basic.BasicBorders.RadioButtonBorder;
import?com.chinasofi.dvd.dao.CustomerDao;
import?com.chinasofi.dvd.entity.Customer;
import?javax.swing.JLabel;
import?javax.swing.JOptionPane;
import?javax.swing.JTextField;
import?javax.swing.ButtonGroup;
import?javax.swing.JButton;
import?java.awt.event.ActionListener;
import?java.awt.event.WindowAdapter;
import?java.awt.event.WindowEvent;
import?java.awt.event.ActionEvent;
import?java.awt.Color;
import?javax.swing.JCheckBox;
import?javax.swing.JRadioButton;
import?javax.swing.ImageIcon;
import?java.awt.Font;
public?class?AddCustomer?extends?Jframe?{
/**
?*?新增客戶
?*/
private?JPanel?contentPane;
private?JTextField?textField;
public?AddCustomer()?{
settitle(“\u65B0\u589E\u5BA2\u6237“);
setDefaultCloseOperation(Jframe.DO_NOTHING_ON_CLOSE);
addWindowListener(new?WindowAdapter()?{
@Override
public?void?windowClosing(WindowEvent?e)?{
setVisible(false);
new?CustomerManagement();
}
});
setBounds(100?100600?400);
contentPane?=?new?JPanel();
contentPane.setBorder(new?EmptyBorder(5?5?5?5));
setContentPane(contentPane);
contentPane.setLayout(null);
JLabel?lblNewLabel?=?new?JLabel(“\u59D3\u540D\uFF1A“);
lblNewLabel.setFont(new?Font(“宋體“?Font.BOLD?16));
lblNewLabel.setForeground(Color.WHITE);
lblNewLabel.setBounds(171?85?80?21);
contentPane.add(lblNewLabel);
textField?=?new?JTextField();
textField.setBounds(282?86?138?23);
contentPane.add(textField);
textField.setColumns(10);
JLabel?info11?=?new?JLabel(““);
info11.setFont(new?Font(“宋體“?Font.BOLD?14));
info11.setForeground(new?Color(2027066));
info11.setBounds(257?292?130?21);
contentPane.add(info11);
JRadioButton?radioButton?=?new?JRadioButton(“\u7537“);
radioButton.setFont(new?Font(“宋體“?Font.PLAIN?14));
radioButton.setForeground(Color.LIGHT_GRAY);
radioButton.setBackground(new?Color(78?58?59));
radioButton.setBounds(282?141?59?34);
contentPane.add(radioButton);
JRadioButton?radioButton_1?=?new?JRadioButton(“\u5973“);
radioButton_1.setFont(new?Font(“宋體“?Font.PLAIN?14));
radioButton_1.setForeground(Color.LIGHT_GRAY);
radioButton_1.setBackground(new?Color(78?58?59));
radioButton_1.setBounds(372?141?48?34);
contentPane.add(radioButton_1);
ButtonGroup?bg=new?ButtonGroup();
bg.add(radioButton);
bg.add(radioButton_1);
JButton?button?=?new?JButton(“\u786E\u8BA4“);
button.addActionListener(new?ActionListener()?{
public?void?actionPerformed(ActionEvent?e)?{
String?name=textField.getText();
String?gender;
if(name.equals(““)){
info11.setText(“姓名不能為空“);
return;
}
if(!radi
?屬性????????????大小?????日期????時(shí)間???名稱(chēng)
-----------?---------??----------?-----??----
?????文件????????421??2017-06-21?13:57??DVD租賃系統(tǒng)\dvd\.classpath
?????文件????????379??2017-06-20?15:20??DVD租賃系統(tǒng)\dvd\.project
?????文件????????598??2017-06-20?15:20??DVD租賃系統(tǒng)\dvd\.settings\org.eclipse.jdt.core.prefs
?????文件?????996444??2017-06-21?13:57??DVD租賃系統(tǒng)\dvd\bil\mysql-connector-java-5.1.42-bin.jar
?????文件?????156675??2017-06-24?13:38??DVD租賃系統(tǒng)\dvd\bin\com\chinasofi\dvd\background_icon\背景.jpg
?????文件?????????96??2017-06-24?21:51??DVD租賃系統(tǒng)\dvd\bin\com\chinasofi\dvd\config\jdbc.properties
?????文件????????828??2017-06-25?00:23??DVD租賃系統(tǒng)\dvd\bin\com\chinasofi\dvd\controller\AddCustomer$1.class
?????文件???????2444??2017-06-25?00:23??DVD租賃系統(tǒng)\dvd\bin\com\chinasofi\dvd\controller\AddCustomer$2.class
?????文件???????1204??2017-06-25?00:23??DVD租賃系統(tǒng)\dvd\bin\com\chinasofi\dvd\controller\AddCustomer$3.class
?????文件???????3769??2017-06-25?00:23??DVD租賃系統(tǒng)\dvd\bin\com\chinasofi\dvd\controller\AddCustomer.class
?????文件????????784??2017-06-25?00:29??DVD租賃系統(tǒng)\dvd\bin\com\chinasofi\dvd\controller\AddDVD$1.class
?????文件???????2438??2017-06-25?00:29??DVD租賃系統(tǒng)\dvd\bin\com\chinasofi\dvd\controller\AddDVD$2.class
?????文件???????1090??2017-06-25?00:29??DVD租賃系統(tǒng)\dvd\bin\com\chinasofi\dvd\controller\AddDVD$3.class
?????文件???????3466??2017-06-25?00:29??DVD租賃系統(tǒng)\dvd\bin\com\chinasofi\dvd\controller\AddDVD.class
?????文件????????828??2017-06-25?00:23??DVD租賃系統(tǒng)\dvd\bin\com\chinasofi\dvd\controller\AddEmployee$1.class
?????文件???????2876??2017-06-25?00:23??DVD租賃系統(tǒng)\dvd\bin\com\chinasofi\dvd\controller\AddEmployee$2.class
?????文件???????1278??2017-06-25?00:23??DVD租賃系統(tǒng)\dvd\bin\com\chinasofi\dvd\controller\AddEmployee$3.class
?????文件???????4324??2017-06-25?00:23??DVD租賃系統(tǒng)\dvd\bin\com\chinasofi\dvd\controller\AddEmployee.class
?????文件????????802??2017-06-24?23:37??DVD租賃系統(tǒng)\dvd\bin\com\chinasofi\dvd\controller\BorrowDVD$1.class
?????文件???????2820??2017-06-24?23:37??DVD租賃系統(tǒng)\dvd\bin\com\chinasofi\dvd\controller\BorrowDVD$2.class
?????文件???????1074??2017-06-24?23:37??DVD租賃系統(tǒng)\dvd\bin\com\chinasofi\dvd\controller\BorrowDVD$3.class
?????文件???????3205??2017-06-24?23:37??DVD租賃系統(tǒng)\dvd\bin\com\chinasofi\dvd\controller\BorrowDVD.class
?????文件????????846??2017-06-24?23:36??DVD租賃系統(tǒng)\dvd\bin\com\chinasofi\dvd\controller\ChangePassword$1.class
?????文件???????2448??2017-06-24?23:36??DVD租賃系統(tǒng)\dvd\bin\com\chinasofi\dvd\controller\ChangePassword$2.class
?????文件???????1147??2017-06-24?23:36??DVD租賃系統(tǒng)\dvd\bin\com\chinasofi\dvd\controller\ChangePassword$3.class
?????文件???????3529??2017-06-24?23:36??DVD租賃系統(tǒng)\dvd\bin\com\chinasofi\dvd\controller\ChangePassword.class
?????文件????????856??2017-06-24?23:36??DVD租賃系統(tǒng)\dvd\bin\com\chinasofi\dvd\controller\CustomerManagement$1.class
?????文件????????892??2017-06-24?23:36??DVD租賃系統(tǒng)\dvd\bin\com\chinasofi\dvd\controller\CustomerManagement$2.class
?????文件????????890??2017-06-24?23:36??DVD租賃系統(tǒng)\dvd\bin\com\chinasofi\dvd\controller\CustomerManagement$3.class
?????文件????????896??2017-06-24?23:36??DVD租賃系統(tǒng)\dvd\bin\com\chinasofi\dvd\controller\CustomerManagement$4.class
............此處省略109個(gè)文件信息
評(píng)論
共有 條評(píng)論