




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
**學(xué)院計算機科學(xué)系JAVA課程設(shè)計報告題目:汽車銷售管理系統(tǒng)系別:計算機系專業(yè)班級:計算機科學(xué)與技術(shù)姓名:李***學(xué)號:081914***指導(dǎo)老師:*******時間:20**/**/**—20**/**/**20**.6.11需求分析1.1設(shè)計需求分析:在信息技術(shù)飛速開展的今天,各行各業(yè)使用計算機在輔助協(xié)調(diào)和管理自身工作的需求越來越高。人們都希望通過計算機技術(shù)來實現(xiàn)對各種事務(wù)的自動化管理。目前,企業(yè)辦公自動化正朝著多功能,復(fù)合化和系統(tǒng)化的方向開展,汽車銷售管理系統(tǒng)是企業(yè)辦公自動化的一種表達(dá).銷售管理也是企業(yè)主要的事務(wù)管理之一,是提高企業(yè)競爭力的重要環(huán)節(jié)。
企業(yè)銷售管理作為ERP的一局部,在企業(yè)管理中占重要地位,其計算機化在興旺國家中也已經(jīng)到達(dá)了相當(dāng)高的水平。目前,我國企業(yè)銷售管理方面的軟件系統(tǒng)也為數(shù)不少,但這些系統(tǒng)的實用性并不強,它們普遍存在以下缺陷:
〔1〕針對國內(nèi)眾多中小企業(yè)迫切需要信息化管理,但處在初步需求階段,無法承受諸如大型ERP、財務(wù)銷售倉儲一體信息化管理的中級階段。自主開發(fā)的軟件往往平臺較低且功能單一,商用軟件又過于注重通用性,無法充分考慮每一個具體單位、具體部門的實際需求。
〔2〕銷售數(shù)據(jù)標(biāo)準(zhǔn)化程度較差,難以保證數(shù)據(jù)的唯一性和權(quán)威性。
〔3〕忽略了對銷售數(shù)據(jù)的分析,使得銷售經(jīng)理需查詢帳單,才能了解銷售情況,在一定程度上的影響了對市場的判斷和預(yù)測。
〔4〕沒有注重對客戶的管理,嚴(yán)重影響了企業(yè)對客戶需求的了解,難以把握市場動態(tài)。2系統(tǒng)概要情況:汽車銷售管理系統(tǒng)主要是對商品從購入到入庫到銷售出庫中各個環(huán)節(jié)所發(fā)生的事件進(jìn)行記錄,以及對商品倉庫的日常事務(wù)進(jìn)行處理。能隨時查詢倉庫的庫存和已售商品。可根據(jù)進(jìn)貨統(tǒng)計、銷售統(tǒng)計,來決定采購方案和暫停采購的商品清單,提高資金利用率。能隨時進(jìn)行員工的業(yè)績查詢、廠商查詢等,提高企業(yè)的科學(xué)管理水平。管理員登陸:輸出正確的賬號密碼,進(jìn)行登陸根本信息:廠家查詢產(chǎn)品.員工.客戶.供給商和庫存信息進(jìn)貨入庫:廠家查詢?nèi)霂燔囕v信息和庫存車輛信息全售管理:查詢經(jīng)銷商的進(jìn)貨退貨情況零售管理:查詢零售商的進(jìn)貨退貨情況文件:進(jìn)行的管理員密碼修改.用戶管理。退出概要設(shè)計2.1開發(fā)工具本系統(tǒng)開發(fā)使用的軟件是JDK1.5,訪問的數(shù)據(jù)庫是SQLServer2000數(shù)據(jù)庫,在開發(fā)過程中,體會到使用JDK1.5工具來開發(fā)的軟件,能夠快速完成,是繁雜的開發(fā)過程待以改善。JAVA是一種開發(fā)性能非常優(yōu)秀的面向?qū)ο蟮臄?shù)據(jù)庫應(yīng)用開發(fā)工具,它除了能夠設(shè)計傳統(tǒng)的高性能、基于客戶/效勞器(Client/Server)體系結(jié)構(gòu)的應(yīng)用系統(tǒng)外,也能夠用于開發(fā)基于Internet的應(yīng)用系統(tǒng)。Java語言是一種純面向?qū)ο蟮某绦蛟O(shè)計高級語言,Java平臺那么是一個完整的軟件開發(fā)體系平臺。它具有簡單性、面向?qū)ο笮浴⒎植际健⒔忉屝浴⒔研浴⑵桨残浴⒔Y(jié)構(gòu)中立性、可移植性、高效性、多線程、動態(tài)性等特點,使用Java語言開發(fā)的軟件工程現(xiàn)在隨處可見。JAVA支持應(yīng)用系統(tǒng)同時應(yīng)用系統(tǒng)同時訪問多種數(shù)據(jù)庫,這既包括諸如Oracle、SQLServer2000、Mysql之類的大型數(shù)據(jù)庫,也包括VB之類的支持ODBC接口的小型數(shù)據(jù)庫。直接使用這個數(shù)據(jù)庫是個質(zhì)優(yōu)價廉的選擇。學(xué)生選課管理系統(tǒng)采用面向?qū)ο蟮摹⒖梢暬臄?shù)據(jù)庫應(yīng)用系統(tǒng)技術(shù)完成了對學(xué)生選課的管理,采用了JDK開發(fā)環(huán)境,并使用本地SQLServer2000數(shù)據(jù)庫。該系統(tǒng)可以滿足管理員日常工作的需要,實現(xiàn)無紙化辦公,提供了相同數(shù)據(jù)源多庫表的查詢,為學(xué)生和的管理提供了方便、快捷的操作方式。2.2功能設(shè)計廠家可以查詢車輛信息出貨進(jìn)貨等信息,其根本功能模塊如下A、根本信息管理包含車輛.員工.客戶.供給商和庫存B、進(jìn)貨管理模塊包含入庫..退庫。庫存。產(chǎn)品信息C、銷售理模塊包全款銷售。欠款銷售D、零售理模塊包含全款零售。欠款零售E、文件塊包含密碼修改.用戶管理和退出2.2.2、數(shù)據(jù)E-R圖:員工:姓名性別部門年齡地址客戶:產(chǎn)品地區(qū)聯(lián)系方式供給商:車型價格聯(lián)系方式車型:供給價格倉庫:數(shù)量車型價格供給商2.2.3程序流程系統(tǒng)的執(zhí)行從用戶的登錄開始,依據(jù)登錄成功后根據(jù)用戶的選擇來進(jìn)行后續(xù)的處理,直到用戶退出系統(tǒng)或關(guān)閉程序為止,其間應(yīng)對用戶的選擇做出判斷及異常處理3數(shù)據(jù)庫邏輯設(shè)計如下(SQL):3.1登錄界面:這個界面主要要實現(xiàn)的就是登陸汽車銷售系統(tǒng),首要填寫正確的用戶名合密碼:代碼如下package汽車銷售管理系統(tǒng);importjava.awt.*;importjavax.swing.*;importjava.awt.BorderLayout;importjava.awt.Rectangle;importjava.awt.event.ActionEvent;importjava.awt.event.ActionListener;/***<p>Title:</p>**<p>Description:</p>**<p>Copyright:Copyright(c)2008</p>**<p>Company:</p>**@authornotattributable*@version1.0*/publicclassTiankehuextendsJDialog{JPanelpanel1=newJPanel();JLabeljLabel1=newJLabel();JLabeljLabel2=newJLabel();JLabeljLabel3=newJLabel();JLabeljLabel4=newJLabel();JLabeljLabel5=newJLabel();JTextFieldjTextField2=newJTextField();JTextFieldjTextField3=newJTextField();JTextFieldjTextField4=newJTextField();JTextFieldjTextField5=newJTextField();JButtonjButton1=newJButton();JButtonjButton2=newJButton();JComboBoxjComboBox1=newJComboBox();publicTiankehu(Frameowner,Stringtitle,booleanmodal){super(owner,title,modal);try{setDefaultCloseOperation(DISPOSE_ON_CLOSE);jbInit();pack();}catch(Exceptionexception){exception.printStackTrace();}}publicTiankehu(){this(newFrame(),"Tiankehu",false);}privatevoidjbInit()throwsException{panel1.setLayout(null);jLabel1.setText("客戶種類");jLabel1.setBounds(newRectangle(64,26,62,20));jLabel2.setText("客戶名稱");jLabel2.setBounds(newRectangle(64,57,62,20));jLabel3.setText("聯(lián)系方式");jLabel3.setBounds(newRectangle(64,94,62,20));jLabel4.setText("地址");jLabel4.setBounds(newRectangle(64,131,62,15));jLabel5.setText("所屬地區(qū)");jLabel5.setBounds(newRectangle(64,168,62,15));jTextField2.setBounds(newRectangle(143,57,97,20));jTextField3.setBounds(newRectangle(143,94,190,20));jTextField4.setBounds(newRectangle(143,131,190,20));jTextField5.setBounds(newRectangle(143,168,190,20));jButton1.setBounds(newRectangle(97,223,81,23));jButton1.setText("保存");jButton1.addActionListener(newTiankehu_jButton1_actionAdapter(this));jButton2.setBounds(newRectangle(219,223,81,23));jButton2.setText("取消");jButton2.addActionListener(newTiankehu_jButton2_actionAdapter(this));jComboBox1.setBounds(newRectangle(143,26,97,20));panel1.add(jTextField2);panel1.add(jTextField3);panel1.add(jTextField4);panel1.add(jTextField5);panel1.add(jLabel1);panel1.add(jLabel2);panel1.add(jLabel3);panel1.add(jLabel4);panel1.add(jLabel5);panel1.add(jButton1);panel1.add(jComboBox1);panel1.add(jButton2);jComboBox1.addItem("經(jīng)銷商");jComboBox1.addItem("零售客戶");this.getContentPane().add(panel1,java.awt.BorderLayout.CENTER);}publicvoidjButton1_actionPerformed(ActionEvente){Stringlei=(String)jComboBox1.getSelectedItem();Stringnam=jTextField2.getText();Stringfang=jTextField3.getText();Stringdi=jTextField4.getText();Stringqu=jTextField5.getText();Stringsql="insertkhxx(kehuzlei,kehuname,kehulianxi,kehuaddress,suoshudiqu)values('"+lei+"','"+nam+"','"+fang+"','"+di+"','"+qu+"')";if(nam.equals("")||fang.equals("")||di.equals("")||qu.equals("")){JOptionPane.showMessageDialog(this,"資料填寫完整在保存!","溫馨提示",JOptionPane.INFORMATION_MESSAGE);}else{DataLianjiedlj=newDataLianjie();dlj.Lianjie();inta=dlj.charu(sql);if(a>0){JOptionPane.showMessageDialog(this,"數(shù)據(jù)以保存!","溫馨提示",JOptionPane.INFORMATION_MESSAGE);jTextField2.setText("");jTextField3.setText("");jTextField4.setText("");jTextField5.setText("");}else{JOptionPane.showMessageDialog(this,"數(shù)據(jù)保存錯誤!","溫馨提示",JOptionPane.INFORMATION_MESSAGE);}}}publicvoidjButton2_actionPerformed(ActionEvente){jTextField2.setText("");jTextField3.setText("");jTextField4.setText("");jTextField5.setText("");}}classTiankehu_jButton2_actionAdapterimplementsActionListener{privateTiankehuadaptee;Tiankehu_jButton2_actionAdapter(Tiankehuadaptee){this.adaptee=adaptee;}publicvoidactionPerformed(ActionEvente){adaptee.jButton2_actionPerformed(e);}}classTiankehu_jButton1_actionAdapterimplementsActionListener{privateTiankehuadaptee;Tiankehu_jButton1_actionAdapter(Tiankehuadaptee){this.adaptee=adaptee;}publicvoidactionPerformed(ActionEvente){adaptee.jButton1_actionPerformed(e);}}登陸畫面:3.2主界面:JAVA代碼:package汽車銷售管理系統(tǒng);importjava.awt.*;importjava.awt.Window;importjavax.swing.*;importjava.awt.Rectangle;importjava.awt.event.ActionEvent;importjava.awt.event.ActionListener;importjavax.swing.BorderFactory;importjavax.swing.ImageIcon;importjavax.swing.DebugGraphics;importjava.awt.Color;import汽車銷售管理系統(tǒng).ZhuFrame;importjavax.swing.event.AncestorEvent;importjavax.swing.event.AncestorListener;importjavax.swing.border.TitledBorder;importjava.sql.ResultSet;importjava.sql.*;importjava.util.Calendar;/***<p>Title:</p>**<p>Description:</p>**<p>Copyright:Copyright(c)2008</p>**<p>Company:</p>**@authornotattributable*@version1.0*/publicclassZhuFrameextendsJFrame{qicheFramemf;publicZhuFrame(qicheFramemf){this.mf=mf;try{jbInit();}catch(Exceptionexception){exception.printStackTrace();}}privatevoidjbInit()throwsException{getContentPane().setLayout(null);setSize(newDimension(1024,738));setTitle("汽車銷售管理系統(tǒng)");this.getContentPane().setBackground(Color.gray);this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);this.setJMenuBar(jMenuBar1);jMenu1.setText("文件");jMenu2.setText("幫助");jMenuItem1.setText("用戶管理");jMenuItem1.addActionListener(newZhuFrame_jMenuItem1_actionAdapter(this));jMenuItem2.setText("退出系統(tǒng)");jMenuItem2.addActionListener(newZhuFrame_jMenuItem2_actionAdapter(this));jMenuItem3.setText("關(guān)于");jMenuItem3.addActionListener(newZhuFrame_jMenuItem3_actionAdapter(this));jLabel1.setBackground(Color.blue);jLabel1.setBorder(BorderFactory.createEtchedBorder());jLabel1.setText("");jLabel1.setBounds(newRectangle(11,1,989,120));jLabel1.addAncestorListener(newZhuFrame_jLabel1_ancestorAdapter(this));jLabel4.setBackground(Color.blue);jLabel4.setForeground(SystemColor.inactiveCaption);jLabel4.setBorder(BorderFactory.createRaisedBevelBorder());jLabel4.setBounds(newRectangle(11,647,993,27));jButton2.setBounds(newRectangle(188,23,76,77));jButton2.setIcon(ruku);jButton2.setHorizontalTextPosition(SwingConstants.CENTER);jButton2.addActionListener(newZhuFrame_jButton2_actionAdapter(this));jButton3.setBounds(newRectangle(311,23,76,77));jButton3.setIcon(quankuan);jButton3.setHorizontalTextPosition(SwingConstants.CENTER);jButton3.addActionListener(newZhuFrame_jButton3_actionAdapter(this));jButton4.setBounds(newRectangle(682,23,76,77));jButton4.setIcon(suoding);jButton4.setHorizontalTextPosition(SwingConstants.CENTER);jButton4.addActionListener(newZhuFrame_jButton4_actionAdapter(this));jButton4.setVerticalTextPosition(AbstractButton.CENTER);jButton5.setBounds(newRectangle(556,23,76,77));jButton5.setIcon(kucun);jButton5.setHorizontalTextPosition(SwingConstants.CENTER);jButton5.addActionListener(newZhuFrame_jButton5_actionAdapter(this));jButton6.setBounds(newRectangle(433,23,76,77));jButton6.setIcon(qiankuan);jButton6.setHorizontalTextPosition(SwingConstants.CENTER);jButton6.addActionListener(newZhuFrame_jButton6_actionAdapter(this));jButton7.setBounds(newRectangle(21,187,118,35));jButton7.setIcon(jiben);jButton7.setText("根本信息");jButton7.addActionListener(newZhuFrame_jButton7_actionAdapter(this));jButton8.setBounds(newRectangle(21,266,118,35));jButton8.setIcon(jin);jButton8.setText("進(jìn)貨入庫");jButton8.addActionListener(newZhuFrame_jButton8_actionAdapter(this));jButton9.setBounds(newRectangle(21,343,118,35));jButton9.setIcon(xiao);jButton9.setText("銷售管理");jButton9.addActionListener(newZhuFrame_jButton9_actionAdapter(this));jButton10.setBounds(newRectangle(21,425,118,35));jButton10.setIcon(ling);jButton10.setText("零售管理");jButton10.addActionListener(newZhuFrame_jButton10_actionAdapter(this));jMenuBar1.setBackground(Color.cyan);jMenuBar1.setForeground(Color.blue);jButton11.setBounds(newRectangle(123,135,121,34));jButton11.setText("客戶信息");jButton11.addActionListener(newZhuFrame_jButton11_actionAdapter(this));jButton12.setBounds(newRectangle(495,256,121,34));jButton12.setText("產(chǎn)品信息");jButton12.addActionListener(newZhuFrame_jButton12_actionAdapter(this));jButton13.setBounds(newRectangle(314,196,121,34));jButton13.setText("庫存信息");jButton13.addActionListener(newZhuFrame_jButton13_actionAdapter(this));jButton16.setBounds(newRectangle(125,254,121,34));jButton16.setText("供貨商信息");jButton16.addActionListener(newZhuFrame_jButton16_actionAdapter(this));jButton18.setBounds(newRectangle(495,135,121,34));jButton18.setText("員工信息");jButton18.addActionListener(newZhuFrame_jButton18_actionAdapter(this));jButton1.setHorizontalTextPosition(SwingConstants.CENTER);jButton1.setBounds(newRectangle(63,23,76,77));jButton1.setActionCommand("jButton1");jButton1.setIcon(kehu);jButton1.addActionListener(newZhuFrame_jButton1_actionAdapter(this));jPanel1.setBorder(BorderFactory.createEtchedBorder());jPanel1.setBounds(newRectangle(168,120,832,513));jPanel1.setLayout(null);jLabel3.setIcon(image3);jLabel3.setBounds(newRectangle(-11,1,840,533));jPanel2.setBorder(BorderFactory.createEtchedBorder());jPanel2.setBounds(newRectangle(178,132,826,509));jPanel2.setLayout(null);jButton14.setBounds(newRectangle(495,256,121,34));jButton14.setText("產(chǎn)品信息");jButton14.addActionListener(newZhuFrame_jButton14_actionAdapter(this));jButton15.setBounds(newRectangle(125,256,121,34));jButton15.setText("退庫單");jButton15.addActionListener(newZhuFrame_jButton15_actionAdapter(this));jButton17.setBounds(newRectangle(495,135,121,34));jButton17.setText("庫存信息");jButton17.addActionListener(newZhuFrame_jButton17_actionAdapter(this));jButton20.setBounds(newRectangle(123,135,121,34));jButton20.setText("入庫單");jButton20.addActionListener(newZhuFrame_jButton20_actionAdapter(this));jLabel5.setIcon(image3);jLabel5.setBounds(newRectangle(-14,0,840,510));jPanel3.setVisible(false);jPanel3.setBackground(Color.lightGray);jPanel3.setBorder(BorderFactory.createEtchedBorder());jPanel3.setBounds(newRectangle(178,132,826,509));jPanel3.setLayout(null);jButton19.setBounds(newRectangle(125,254,121,36));jButton19.setText("欠款銷售單");jButton19.addActionListener(newZhuFrame_jButton19_actionAdapter(this));jButton21.setBounds(newRectangle(123,135,121,34));jButton21.setText("全款銷售單");jButton21.addActionListener(newZhuFrame_jButton21_actionAdapter(this));jButton22.setBounds(newRectangle(495,135,121,34));jButton22.setText("退庫單");jButton22.addActionListener(newZhuFrame_jButton22_actionAdapter(this));jButton23.setBounds(newRectangle(495,256,121,34));jButton23.setText("庫存查詢");jButton23.addActionListener(newZhuFrame_jButton23_actionAdapter(this));jLabel6.setIcon(image3);jLabel6.setBounds(newRectangle(-14,0,840,510));jPanel4.setVisible(false);jPanel4.setBorder(BorderFactory.createEtchedBorder());jPanel4.setBounds(newRectangle(178,132,826,509));jPanel4.setLayout(null);jButton24.setBounds(newRectangle(125,254,121,34));jButton24.setText("欠款零售");jButton24.addActionListener(newZhuFrame_jButton24_actionAdapter(this));jButton25.setBounds(newRectangle(123,135,121,34));jButton25.setText("全款零售");jButton25.addActionListener(newZhuFrame_jButton25_actionAdapter(this));jButton26.setBounds(newRectangle(495,135,121,34));jButton26.setText("退庫單");jButton26.addActionListener(newZhuFrame_jButton26_actionAdapter(this));jButton27.setBounds(newRectangle(495,256,121,34));jButton27.setText("庫存查詢");jButton27.addActionListener(newZhuFrame_jButton27_actionAdapter(this));jLabel7.setIcon(image3);jLabel7.setBounds(newRectangle(-14,0,840,510));jPanel5.setBackground(SystemColor.inactiveCaptionText);jPanel5.setBounds(newRectangle(13,649,989,24));jPanel5.setLayout(null);jLabel8.setText("操作員:");jLabel8.setBounds(newRectangle(16,4,56,16));jLabel9.setBounds(newRectangle(77,4,104,15));jLabel9.addAncestorListener(newZhuFrame_jLabel9_ancestorAdapter(this));jLabel10.setText("日期:");jLabel10.setBounds(newRectangle(843,4,41,15));jLabel11.setBounds(newRectangle(890,4,87,14));jLabel11.addAncestorListener(newZhuFrame_jLabel11_ancestorAdapter(this));jMenuItem4.setText("修改密碼");jMenuItem4.addActionListener(newZhuFrame_jMenuItem4_actionAdapter(this));jButton28.setBounds(newRectangle(311,135,121,34));jButton28.setText("全款銷售列表");jButton28.addActionListener(newZhuFrame_jButton28_actionAdapter(this));jButton29.setBounds(newRectangle(311,254,121,34));jButton29.setText("欠款銷售列表");jButton29.addActionListener(newZhuFrame_jButton29_actionAdapter(this));jButton30.setBounds(newRectangle(311,254,121,34));jButton30.setText("欠款零售列表");jButton30.addActionListener(newZhuFrame_jButton30_actionAdapter(this));jButton31.setBounds(newRectangle(311,135,121,34));jButton31.setText("全款零售列表");jButton31.addActionListener(newZhuFrame_jButton31_actionAdapter(this));jLabel2.setBackground(Color.blue);jLabel2.setBorder(BorderFactory.createEtchedBorder());jLabel2.setIcon(image2);jLabel2.setBounds(newRectangle(8,121,158,519));jMenuBar1.add(jMenu1);jMenuBar1.add(jMenu2);jMenu1.add(jMenuItem4);jMenu1.add(jMenuItem1);jMenu1.add(jMenuItem2);jMenu2.add(jMenuItem3);this.getContentPane().add(jButton7);this.getContentPane().add(jButton8);this.getContentPane().add(jButton10);this.getContentPane().add(jButton1);this.getContentPane().add(jPanel2);this.getContentPane().add(jPanel4);jPanel4.add(jButton25);jPanel4.add(jButton26);jPanel4.add(jButton24);jPanel4.add(jButton27);jPanel4.add(jButton30);jPanel4.add(jButton31);jPanel4.add(jLabel7);this.getContentPane().add(jPanel3);this.getContentPane().add(jPanel5);jPanel5.add(jLabel8);jPanel5.add(jLabel9);jPanel5.add(jLabel10);jPanel5.add(jLabel11);this.getContentPane().add(jLabel4);this.getContentPane().add(jButton4);this.getContentPane().add(jButton2);this.getContentPane().add(jButton3);this.getContentPane().add(jButton6);this.getContentPane().add(jButton5);this.getContentPane().add(jPanel1);jPanel3.add(jButton22);jPanel3.add(jButton21);jPanel3.add(jButton23);jPanel3.add(jButton19);jPanel3.add(jButton28);jPanel3.add(jButton29);jPanel3.add(jLabel6);jPanel2.add(jButton14);jPanel2.add(jButton20);jPanel2.add(jButton15);jPanel2.add(jButton17);jPanel2.add(jLabel5);jPanel1.add(jButton11);jPanel1.add(jButton16);jPanel1.add(jButton13);jPanel1.add(jButton18);jPanel1.add(jButton12);jPanel1.add(jLabel3);this.getContentPane().add(jLabel1);this.getContentPane().add(jButton9);this.getContentPane().add(jLabel2);jPanel1.setVisible(true);jPanel2.setVisible(false);jPanel3.setVisible(false);jPanel4.setVisible(false);}JMenuBarjMenuBar1=newJMenuBar();JMenujMenu1=newJMenu();JMenujMenu2=newJMenu();JMenuItemjMenuItem1=newJMenuItem();JMenuItemjMenuItem2=newJMenuItem();JMenuItemjMenuItem3=newJMenuItem();ImageIconimage1=newImageIcon("0009.jpg");ImageIconimage2=newImageIcon("11.jpg");ImageIconimage3=newImageIcon("001.jpg");ImageIconkucun=newImageIcon("kucunchaxun.jpg");ImageIconkehu=newImageIcon("kehuguanli.jpg");ImageIconquankuan=newImageIcon("quankuanxiaoshou.jpg");ImageIconqiankuan=newImageIcon("qiankuanxiaoshou.jpg");ImageIconsuoding=newImageIcon("xitongsuoding.jpg");ImageIconruku=newImageIcon("rukudian.jpg");ImageIconjiben=newImageIcon("jiben.jpg");ImageIconjin=newImageIcon("jin.jpg");ImageIconxiao=newImageIcon("xiao.jpg");ImageIconling=newImageIcon("ling.jpg");JLabeljLabel1=newJLabel(image1);JLabeljLabel4=newJLabel();JButtonjButton2=newJButton();JButtonjButton3=newJButton();JButtonjButton4=newJButton();JButtonjButton5=newJButton();JButtonjButton6=newJButton();JButtonjButton7=newJButton();JButtonjButton8=newJButton();JButtonjButton9=newJButton();JButtonjButton10=newJButton();JButtonjButton11=newJButton();JButtonjButton12=newJButton();JButtonjButton13=newJButton();JButtonjButton16=newJButton();JButtonjButton18=newJButton();TitledBordertitledBorder1=newTitledBorder("");JButtonjButton1=newJButton();JPaneljPanel1=newJPanel();JLabeljLabel3=newJLabel();JPaneljPanel2=newJPanel();JButtonjButton14=newJButton();JButtonjButton15=newJButton();JButtonjButton17=newJButton();JButtonjButton20=newJButton();JLabeljLabel5=newJLabel();JPaneljPanel3=newJPanel();JButtonjButton19=newJButton();JButtonjButton21=newJButton();JButtonjButton22=newJButton();JButtonjButton23=newJButton();JLabeljLabel6=newJLabel();JPaneljPanel4=newJPanel();JButtonjButton24=newJButton();JButtonjButton25=newJButton();JButtonjButton26=newJButton();JButtonjButton27=newJButton();JLabeljLabel7=newJLabel();JPaneljPanel5=newJPanel();JLabeljLabel8=newJLabel();JLabeljLabel9=newJLabel();JLabeljLabel10=newJLabel();JLabeljLabel11=newJLabel();JMenuItemjMenuItem4=newJMenuItem();JButtonjButton28=newJButton();JButtonjButton29=newJButton();JButtonjButton30=newJButton();JButtonjButton31=newJButton();JLabeljLabel2=newJLabel();publicvoidjMenuItem2_actionPerformed(ActionEvente){inta=JOptionPane.showConfirmDialog(this,"您真的要退出嗎?","退出提示",JOptionPane.YES_NO_OPTION);if(a==0){System.exit(0);}}publicvoidjMenuItem3_actionPerformed(ActionEvente){Guanyugy=newGuanyu(this,"關(guān)于",true);gy.setSize(420,320);Dimensiongs=gy.getPreferredSize();Dimensionfs=getSize();Pointloc=getLocation();gy.setLocation((fs.width-gs.width)/4+loc.x,(fs.width-gs.height)/4+loc.y);gy.setModal(true);gy.setVisible(true);}//publicvoidjButton18_actionPerformed(ActionEvente){YgxxFrameyg=newYgxxFrame();DimensionscreenSize=Toolkit.getDefaultToolkit().getScreenSize();DimensionframeSize=yg.getSize();yg.setLocation(182,187);yg.setVisible(true);}publicvoidjLabel1_ancestorAdded(AncestorEventevent){}publicvoidjButton2_actionPerformed(ActionEvente){Zengjiakucunzjkc=newZengjiakucun(this,"入庫單",true);zjkc.setSize(405,350);Dimensionysize=zjkc.getPreferredSize();Dimensionfsize=getSize();zjkc.setLocation(450,220);zjkc.setModal(true);zjkc.setVisible(true);}//實現(xiàn)按鈕切換面板publicvoidjButton8_actionPerformed(ActionEvente){jPanel1.setVisible(false);jPanel2.setVisible(true);jPanel3.setVisible(false);jPanel4.setVisible(false);}//實現(xiàn)按鈕切換面板publicvoidjButton7_actionPerformed(ActionEvente){jPanel1.setVisible(true);jPanel2.setVisible(false);jPanel3.setVisible(false);jPanel4.setVisible(false);}//實現(xiàn)按鈕切換面板publicvoidjButton9_actionPerformed(ActionEvente){jPanel1.setVisible(false);jPanel2.setVisible(false);jPanel3.setVisible(true);jPanel4.setVisible(false);}//實現(xiàn)按鈕切換面板publicvoidjButton10_actionPerformed(ActionEvente){jPanel1.setVisible(false);jPanel2.setVisible(false);jPanel3.setVisible(false);jPanel4.setVisible(true);}publicvoidjButton16_actionPerformed(ActionEvente){GhsFrameghs=newGhsFrame();DimensionscreenSize=Toolkit.getDefaultToolkit().getScreenSize();DimensionframeSize=ghs.getSize();ghs.setLocation(182,187);ghs.setVisible(true);}publicvoidjButton13_actionPerformed(ActionEvente){KcxxFramekc=newKcxxFrame();DimensionscreenSize=Toolkit.getDefaultToolkit().getScreenSize();DimensionframeSize=kc.getSize();kc.setLocation(182,187);kc.setVisible(true);}publicvoidjButton12_actionPerformed(ActionEvente){CpxxFramecp=newCpxxFrame();DimensionscreenSize=Toolkit.getDefaultToolkit().getScreenSize();DimensionframeSize=cp.getSize();cp.setLocation(182,187);cp.setVisible(true);}publicvoidjButton11_actionPerformed(ActionEvente){KhxxFrameku=newKhxxFrame();DimensionscreenSize=Toolkit.getDefaultToolkit().getScreenSize();DimensionframeSize=ku.getSize();ku.setLocation(182,187);ku.setVisible(true);}publicvoidjButton14_actionPerformed(ActionEvente){CpxxFramecp=newCpxxFrame();DimensionscreenSize=Toolkit.getDefaultToolkit().getScreenSize();DimensionframeSize=cp.getSize();cp.setLocation(182,187);cp.setVisible(true);}publicvoidjButton17_actionPerformed(ActionEvente){KcxxFramekc=newKcxxFrame();DimensionscreenSize=Toolkit.getDefaultToolkit().getScreenSize();DimensionframeSize=kc.getSize();kc.setLocation(182,187);kc.setVisible(true);}publicvoidjButton23_actionPerformed(ActionEvente){KcxxFramekc=newKcxxFrame();DimensionscreenSize=Toolkit.getDefaultToolkit().getScreenSize();DimensionframeSize=kc.getSize();kc.setLocation(182,187);kc.setVisible(true);}publicvoidjButton27_actionPerformed(ActionEvente){KcxxFramekc=newKcxxFrame();DimensionscreenSize=Toolkit.getDefaultToolkit().getScreenSize();DimensionframeSize=kc.getSize();kc.setLocation(182,187);kc.setVisible(true);}publicvoidjButton1_actionPerformed(ActionEvente){//調(diào)用客戶信息窗口KhxxFrameku=newKhxxFrame();DimensionscreenSize=Toolkit.getDefaultToolkit().getScreenSize();DimensionframeSize=ku.getSize();ku.setLocation(182,187);ku.setVisible(true);}publicvoidjButton3_actionPerformed(ActionEvente){//調(diào)用全款出庫單Quankuanxiaoshougy=newQuankuanxiaoshou(this,"全款出庫單",true);gy.setSize(585,350);Dimensiongs=gy.getPreferredSize();Dimensionfs=getSize();Pointloc=getLocation();gy.setLocation((fs.width-gs.width)/4+loc.x,(fs.width-gs.height)/4+loc.y);gy.setModal(true);gy.setVisible(true);}publ
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 家樂福人員管理制度
- 家庭門口樹管理制度
- 應(yīng)急辦日常管理制度
- 強電間安全管理制度
- 徐學(xué)校電腦管理制度
- 德克士收費管理制度
- 心電圖維修管理制度
- 快遞員宿舍管理制度
- 急救預(yù)案及管理制度
- 惡臭嗅覺室管理制度
- 7數(shù)滬科版期末考試卷-2024-2025學(xué)年七年級(初一)數(shù)學(xué)下冊期末考試模擬卷04
- 胃管置入術(shù)考試題及答案
- 2025年全國統(tǒng)一高考英語試卷(全國一卷)含答案
- 鄭州大學(xué)cad期末考試試題及答案
- 學(xué)院就業(yè)工作管理制度
- 吉林省吉林市名校2025年七下英語期末考試模擬試題含答案
- 2025年智能科技與數(shù)字經(jīng)濟對社會交通出行方式與效率的影響報告
- 2025年機器人技術(shù)與應(yīng)用開發(fā)考試試題及答案
- 2025屆福建省廈門市名校數(shù)學(xué)七下期末質(zhì)量檢測試題含解析
- DB62T 3081-2022 綠色建筑工程驗收標(biāo)準(zhǔn)
- 河北大學(xué)《民法學(xué)》2023-2024學(xué)年第二學(xué)期期末試卷
評論
0/150
提交評論