資源簡介
運用java開發的超市管理系統, 系統分為前臺登錄和后臺登錄兩部分,前臺登錄進去是POS機的銷售界面,后臺登錄進去的是后臺人員管理界面,有倉庫管理、人員管理和銷售管理功能,倉庫管理又分報損單、進貨單、商品錄入、退貨和商品信息功能;人員管理又分為供應商管理、會員管理和員工管理功能;銷售管理又分為商品信息查詢、商品退貨、單據查詢、交易信息、員工業績排行和商品銷售排行功能。

代碼片段和文件信息
/*
?*?Cd.java
?*
?*?Created?on?__DATE__?__TIME__
?*/
package?com.gui;
import?java.sql.SQLException;
import?javax.swing.JTable;
import?com.login.Sales;
import?JDBC.Test;
import?JDBC.JDBC_U;
/**
?*
?*?@author??__USER__
?*/
public?class?Cd?extends?javax.swing.Jframe?{
/**
?*?
?*/
private?static?final?long?serialVersionUID?=?1L;
/**?Creates?new?form?Cd?*/
public?Cd()?{
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
//?
private?void?initComponents()?{
jLabel1?=?new?javax.swing.JLabel();
jLabel2?=?new?javax.swing.JLabel();
jTextField1?=?new?javax.swing.JTextField();
jButton1?=?new?javax.swing.JButton();
jScrollPane1?=?new?javax.swing.JScrollPane();
jTable1?=?new?javax.swing.JTable();
jButton2?=?new?javax.swing.JButton();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setCursor(new?java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
jLabel1.setFont(new?java.awt.Font(“宋體“?0?18));
jLabel1.setText(“\u5355\u636e\u5ba1\u67e5“);
jLabel2.setText(“\u5355\u636e\u53f7:“);
jTextField1.setText(““);//初始內容
jButton1.setText(“\u67e5\u8be2“);
jButton1.addMouseListener(new?java.awt.event.MouseAdapter()?{
public?void?mouseClicked(java.awt.event.MouseEvent?evt)?{
jButton1MouseClicked(evt);
}
});
Test?st=new?Test(“select?*?from?I_G_list“);
try?{
jTable1?=?st.displayResultSet();
}?
catch?(SQLException?e)?{
//?TODO?Auto-generated?catch?block
e.printStackTrace();
}
jScrollPane1.setViewportView(jTable1);
jButton2.setText(“\u8fd4\u56de“);
jButton2.addMouseListener(new?java.awt.event.MouseAdapter()?{
public?void?mouseClicked(java.awt.event.MouseEvent?evt)?{
jButton2MouseClicked(evt);
}
});
javax.swing.GroupLayout?layout?=?new?javax.swing.GroupLayout(
getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(layout
.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(
layout.createSequentialGroup()
.addGroup(
layout.createParallelGroup(
javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(
layout.createSequentialGroup()
.addGap(167
167
167)
.addComponent(
jLabel1))
.addGroup(
layout.createSequentialGroup()
.addGap(106
106
106)
.addComponent(
jLabel2)
.addPreferredGap(
javax.swing.Layoutstyle.ComponentPlacement.UNRELATED)
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-02-07?17:44??sql文件\
?????文件???????10940??2016-06-30?12:25??sql文件\db3.sql
?????文件???????10103??2016-06-30?10:33??sql文件\DBMS.sql
?????目錄???????????0??2017-02-07?17:44??SuperMarketManager\
?????文件?????????524??2016-06-26?21:02??SuperMarketManager\.classpath
?????目錄???????????0??2016-06-30?12:38??SuperMarketManager\.myeclipse\
?????目錄???????????0??2017-02-07?17:44??SuperMarketManager\.myeclipse\profiler\
?????文件?????????906??2016-06-26?09:53??SuperMarketManager\.myeclipse\profiler\Cd.xm
?????文件?????????394??2016-06-22?14:04??SuperMarketManager\.project
?????目錄???????????0??2017-02-07?17:44??SuperMarketManager\.settings\
?????文件?????????629??2016-06-22?14:04??SuperMarketManager\.settings\org.eclipse.jdt.core.prefs
?????目錄???????????0??2016-06-30?12:38??SuperMarketManager\bin\
?????目錄???????????0??2016-06-30?12:38??SuperMarketManager\bin\com\
?????目錄???????????0??2017-02-07?17:45??SuperMarketManager\bin\com\gui\
?????文件?????????657??2016-06-29?19:09??SuperMarketManager\bin\com\gui\Cd$1.class
?????文件?????????657??2016-06-29?19:09??SuperMarketManager\bin\com\gui\Cd$2.class
?????文件?????????506??2016-06-29?19:09??SuperMarketManager\bin\com\gui\Cd$3.class
?????文件????????5837??2016-06-29?19:09??SuperMarketManager\bin\com\gui\Cd.class
?????文件????????6575??2016-06-28?19:37??SuperMarketManager\bin\com\gui\Cd.form
?????文件?????????657??2016-06-29?19:09??SuperMarketManager\bin\com\gui\Mt$1.class
?????文件?????????506??2016-06-29?19:09??SuperMarketManager\bin\com\gui\Mt$2.class
?????文件????????6475??2016-06-29?19:09??SuperMarketManager\bin\com\gui\Mt.class
?????文件???????10152??2016-06-27?22:18??SuperMarketManager\bin\com\gui\Mt.form
?????文件?????????664??2016-06-29?19:09??SuperMarketManager\bin\com\gui\Pfm$1.class
?????文件?????????664??2016-06-29?19:09??SuperMarketManager\bin\com\gui\Pfm$2.class
?????文件?????????510??2016-06-29?19:09??SuperMarketManager\bin\com\gui\Pfm$3.class
?????文件????????5945??2016-06-29?19:09??SuperMarketManager\bin\com\gui\Pfm.class
?????文件????????6494??2016-06-28?19:48??SuperMarketManager\bin\com\gui\Pfm.form
?????文件?????????956??2016-06-29?19:09??SuperMarketManager\bin\com\gui\Sp$1.class
?????文件?????????657??2016-06-29?19:09??SuperMarketManager\bin\com\gui\Sp$2.class
?????文件?????????506??2016-06-29?19:09??SuperMarketManager\bin\com\gui\Sp$3.class
............此處省略250個文件信息
- 上一篇:Android藍牙串口通訊直接能用
- 下一篇:校園一卡通通過客戶端操作數據庫完整
評論
共有 條評論