汽车销售管理系统课程设计报告_第1页
汽车销售管理系统课程设计报告_第2页
汽车销售管理系统课程设计报告_第3页
汽车销售管理系统课程设计报告_第4页
汽车销售管理系统课程设计报告_第5页
已阅读5页,还剩25页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

**学院计算机科学系JAVA课程设计报告题目:汽车销售管理系统系别:计算机系专业班级:计算机科学与技术姓名:李***学号:081914***指导老师:*******时间:20**/**/**—20**/**/**20**.6.11需求分析1.1设计需求分析:在信息技术飞速开展的今天,各行各业使用计算机在辅助协调和管理自身工作的需求越来越高。人们都希望通过计算机技术来实现对各种事务的自动化管理。目前,企业办公自动化正朝着多功能,复合化和系统化的方向开展,汽车销售管理系统是企业办公自动化的一种表达.销售管理也是企业主要的事务管理之一,是提高企业竞争力的重要环节。

企业销售管理作为ERP的一局部,在企业管理中占重要地位,其计算机化在兴旺国家中也已经到达了相当高的水平。目前,我国企业销售管理方面的软件系统也为数不少,但这些系统的实用性并不强,它们普遍存在以下缺陷:

〔1〕针对国内众多中小企业迫切需要信息化管理,但处在初步需求阶段,无法承受诸如大型ERP、财务销售仓储一体信息化管理的中级阶段。自主开发的软件往往平台较低且功能单一,商用软件又过于注重通用性,无法充分考虑每一个具体单位、具体部门的实际需求。

〔2〕销售数据标准化程度较差,难以保证数据的唯一性和权威性。

〔3〕忽略了对销售数据的分析,使得销售经理需查询帐单,才能了解销售情况,在一定程度上的影响了对市场的判断和预测。

〔4〕没有注重对客户的管理,严重影响了企业对客户需求的了解,难以把握市场动态。2系统概要情况:汽车销售管理系统主要是对商品从购入到入库到销售出库中各个环节所发生的事件进行记录,以及对商品仓库的日常事务进行处理。能随时查询仓库的库存和已售商品。可根据进货统计、销售统计,来决定采购方案和暂停采购的商品清单,提高资金利用率。能随时进行员工的业绩查询、厂商查询等,提高企业的科学管理水平。管理员登陆:输出正确的账号密码,进行登陆根本信息:厂家查询产品.员工.客户.供给商和库存信息进货入库:厂家查询入库车辆信息和库存车辆信息全售管理:查询经销商的进货退货情况零售管理:查询零售商的进货退货情况文件:进行的管理员密码修改.用户管理。退出概要设计2.1开发工具本系统开发使用的软件是JDK1.5,访问的数据库是SQLServer2000数据库,在开发过程中,体会到使用JDK1.5工具来开发的软件,能够快速完成,是繁杂的开发过程待以改善。JAVA是一种开发性能非常优秀的面向对象的数据库应用开发工具,它除了能够设计传统的高性能、基于客户/效劳器(Client/Server)体系结构的应用系统外,也能够用于开发基于Internet的应用系统。Java语言是一种纯面向对象的程序设计高级语言,Java平台那么是一个完整的软件开发体系平台。它具有简单性、面向对象性、分布式、解释性、健壮性、平安性、结构中立性、可移植性、高效性、多线程、动态性等特点,使用Java语言开发的软件工程现在随处可见。JAVA支持应用系统同时应用系统同时访问多种数据库,这既包括诸如Oracle、SQLServer2000、Mysql之类的大型数据库,也包括VB之类的支持ODBC接口的小型数据库。直接使用这个数据库是个质优价廉的选择。学生选课管理系统采用面向对象的、可视化的数据库应用系统技术完成了对学生选课的管理,采用了JDK开发环境,并使用本地SQLServer2000数据库。该系统可以满足管理员日常工作的需要,实现无纸化办公,提供了相同数据源多库表的查询,为学生和的管理提供了方便、快捷的操作方式。2.2功能设计厂家可以查询车辆信息出货进货等信息,其根本功能模块如下A、根本信息管理包含车辆.员工.客户.供给商和库存B、进货管理模块包含入库..退库。库存。产品信息C、销售理模块包全款销售。欠款销售D、零售理模块包含全款零售。欠款零售E、文件块包含密码修改.用户管理和退出2.2.2、数据E-R图:员工:姓名性别部门年龄地址客户:产品地区联系方式供给商:车型价格联系方式车型:供给价格仓库:数量车型价格供给商2.2.3程序流程系统的执行从用户的登录开始,依据登录成功后根据用户的选择来进行后续的处理,直到用户退出系统或关闭程序为止,其间应对用户的选择做出判断及异常处理3数据库逻辑设计如下(SQL):3.1登录界面:这个界面主要要实现的就是登陆汽车销售系统,首要填写正确的用户名合密码:代码如下package汽车销售管理系统;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("联系方式");jLabel3.setBounds(newRectangle(64,94,62,20));jLabel4.setText("地址");jLabel4.setBounds(newRectangle(64,131,62,15));jLabel5.setText("所属地区");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("经销商");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,"数据以保存!","温馨提示",JOptionPane.INFORMATION_MESSAGE);jTextField2.setText("");jTextField3.setText("");jTextField4.setText("");jTextField5.setText("");}else{JOptionPane.showMessageDialog(this,"数据保存错误!","温馨提示",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汽车销售管理系统;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汽车销售管理系统.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("汽车销售管理系统");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("退出系统");jMenuItem2.addActionListener(newZhuFrame_jMenuItem2_actionAdapter(this));jMenuItem3.setText("关于");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("进货入库");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("产品信息");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("产品信息");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,"关于",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);}//实现按钮切换面板publicvoidjButton8_actionPerformed(ActionEvente){jPanel1.setVisible(false);jPanel2.setVisible(true);jPanel3.setVisible(false);jPanel4.setVisible(false);}//实现按钮切换面板publicvoidjButton7_actionPerformed(ActionEvente){jPanel1.setVisible(true);jPanel2.setVisible(false);jPanel3.setVisible(false);jPanel4.setVisible(false);}//实现按钮切换面板publicvoidjButton9_actionPerformed(ActionEvente){jPanel1.setVisible(false);jPanel2.setVisible(false);jPanel3.setVisible(true);jPanel4.setVisible(false);}//实现按钮切换面板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){//调用客户信息窗口KhxxFrameku=newKhxxFrame();DimensionscreenSize=Toolkit.getDefaultToolkit().getScreenSize();DimensionframeSize=ku.getSize();ku.setLocation(182,187);ku.setVisible(true);}publicvoidjButton3_actionPerformed(ActionEvente){//调用全款出库单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. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论