freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

物資合同管理系統(tǒng)代碼-全文預(yù)覽

2025-06-04 12:34 上一頁面

下一頁面
  

【正文】 el(姓名)。//創(chuàng)建“添加學(xué)生面板”類public class ChangeCustomer extends JPanel implements ActionListener{ //聲明連接數(shù)據(jù)庫對象 Connection con。 } } } }//導(dǎo)入系統(tǒng)的類包import .*。 ()。 //清空文本行的內(nèi)容 ()。+shengchanriqi+39。+mingcheng+39。 } catch (SQLException e1) { // TODO Autogenerated catch block ()。+shengchanriqi+39。+mingcheng+39。 } catch (SQLException e1) { // TODO Autogenerated catch block ()。 String xiaoshoushuliang=()。 String chanpinID=()。 ((銷售數(shù)量))。 //處理結(jié)果集:逐條顯示結(jié)果集中的記錄 if(()) { ((產(chǎn)品ID))。//產(chǎn)品ID //()。 (jButton1)。 (jTextField2)。 (jLabel4)。 //添加組件到面板 (jLabel0)。 (new Rectangle(90,84,247,30))。 (new Rectangle(90,160,247,31))。 (new Rectangle(35,280,222,30))。 (new Rectangle(35,120,222,30))。 st=()。 //JTextArea jTextArea1=new JTextArea()。 JTextField jTextField5=new JTextField()。 JTextField jTextField0=new JTextField()。 JLabel jLabel2=new JLabel(產(chǎn)品名稱)。//創(chuàng)建“添加學(xué)生面板”類public class ChangeProduct extends JPanel implements ActionListener{ //聲明連接數(shù)據(jù)庫對象 Connection con。 }}import .*。 } } }}//導(dǎo)入sql數(shù)據(jù)庫包import .*。)。 (jButton1)。 (new Rectangle(70,175,205,36))。 //框架的布局 (null)。 //構(gòu)造方法 public DeleteContract() { try{ //調(diào)用初始化方法 jbInit()。 //聲明SQL語句對象 Statement st。import .*。 //利用消息對話框提示刪除操作成功 (this,刪除操作成功!)。 } //點擊按鈕事件 public void actionPerformed(ActionEvent e) { //獲取用戶輸入的學(xué)號 String kehuID=()。 //添加按鈕動作事件 (this)。 //設(shè)置各組件的大小 (new (宋體,14))。 } catch(Exception exception){ ()。 //創(chuàng)建組件對象 JLabel jLabel1=new JLabel(請輸入待刪除的客戶的ID號:)。import .*。 //清空輸入學(xué)號的文本行 ()。 //要求用戶確認(rèn)刪除 if((this,確認(rèn)要刪除嗎?)==) { try{ //利用st對象執(zhí)行SQL刪除操作 (delete from productmessage where 產(chǎn)品ID=39。 //添加組件到面板 (jLabel1)。 (new Rectangle(70,20,200,30))。 } } //界面初始化方法 private void jbInit() throws Exception { //連接數(shù)據(jù)庫 con=()。 JTextField jTextField1=new JTextField()。import .*。 } } catch(Exception ex){ //利用消息對話框提示查詢失敗 (this,查詢失敗!)。)。 } }}/*public void actionPerformed(ActionEvent e){ //獲取用戶輸入的產(chǎn)品ID String hetongID=()。 //處理結(jié)果集:逐條顯示結(jié)果集中的記錄 if(()) { ((合同ID)+ +(客戶姓名)+ +(合同名稱)+ +(合同日期)+ +(負(fù)責(zé)人)+ +(合同金額)+\n)。 //清空文本區(qū)原有的內(nèi)容 ()。 (jTextField1)。 (new Rectangle(24,150,305,90))。 (new Rectangle(46,4,222,32))。 st=()。 JTextArea jTextArea1=new JTextArea()。 //創(chuàng)建組件對象:標(biāo)簽、文本行、單選 JLabel jLabel1=new JLabel(請輸入待查詢的合同的ID號:)。import .*。 } else { (this,沒有這個客戶!)。+kehuID+39。 } //點擊按鈕事件 public void actionPerformed(ActionEvent e) { //獲取用戶輸入的產(chǎn)品ID String kehuID=()。(jLabel2)。 (new Rectangle(47,86,247,30))。 (new (宋體,9))。 } } //面板初始化方法 private void jbInit() throws Exception { //連接數(shù)據(jù)庫 con=()。 JButton jButton1=new JButton(查詢)。 //聲明SQL語句對象 Statement st。import .*。 //清空文本行的內(nèi)容 ()。 try{ //利用st對象執(zhí)行SQL語句,返回結(jié)果集對象 ResultSet rs=(select * from productmessage where 產(chǎn)品ID=39。 (jTextArea1)。 //添加按鈕動作事件 (this)。 (new Rectangle(24,90,247,100))。 //框架的布局 (null)。 //構(gòu)造方法 public InquiryProduct() { try{ //調(diào)用初始化方法 jbInit()。 JLabel jLabel2=new JLabel(產(chǎn)品ID 產(chǎn)品名稱 產(chǎn)品價格 生產(chǎn)日期 銷售數(shù)量)。import .*。 //令主界面顯示 (true)。 //獲取主界面的窗體尺寸 Dimension frameSize =()。 }}//導(dǎo)入包import .*。 //添加標(biāo)簽到內(nèi)容面板 (jLabel1)。 //設(shè)置標(biāo)簽組件的大小 (new Rectangle(46,28,249,39))。 try{ //調(diào)用初始化方法 jbInit()。 //創(chuàng)建標(biāo)簽對象 JLabel jLabel1=new JLabel(客戶資源管理系統(tǒng))。 //令對話框dlg可見 (true)。 //獲得窗口的尺寸 Dimension frmSize=getSize()。 //令界面可見 (true)。 //令界面可見 (true)。 //令界面可見 (true)。 //令界面可見 (true)。 //令界面可見 (true)。 //令界面可見 (true)。 //令界面可見 (true)。 //令界面可見 (true)。 //令界面可見 (true)。 //令界面可見 (true)。 //令界面可見 (true)。 //令界面可見 (true)。 } //菜單事件的處理方法 public void actionPerformed(ActionEvent actionEvent) { //點擊“文件”菜單下的“退出”菜單項 if(()==jMenuHelpAbout2) { (0)。 //設(shè)置標(biāo)簽組件的大小和字體 (new (宋體,20))。 (jMenuItem7)。 (jMenuItem3)。 (jMenuFile3)。 //添加菜單項組件到菜單組件 (jMenuHelpAbout)。 //添加菜單組件到菜單條 (jMenu)。 (this)。 (this)。 (this)。 //添加事件監(jiān)聽器jMenuItem1 (this)。 } } //界面初始化方法 private void jbInit() throws Exception { //創(chuàng)建內(nèi)容面板和其布局 contentPane =(JPanel) getContentPane()。 JLabel jLabel2=new JLabel(2010年6月20日,涂誠)。 ////////////////////////////////////////////// JMenu jMenuHelp=new JMenu(幫助)。 JMenuItem jMenuItem5=new JMenuItem(添加合同)。 JMenuItem jMenuItem2=new JMenuItem(刪除客戶)。 JMenuItem jMenuFile3=new JMenuItem(查詢產(chǎn)品)。 //創(chuàng)建菜單欄 JMenuBar jMenuBar1=new JMenuBar()。//導(dǎo)入系統(tǒng)的包import .*。//創(chuàng)建主界面類public class MainFrame extends JFrame implements ActionListener{ //創(chuàng)建內(nèi)容面板 JPanel contentPane。 JMenuItem jMenuFile2=new JMenuItem(刪除產(chǎn)品)。 JMenuItem jMenuItem1=new JMenuItem(添加客戶)。 /////////////////////////////////////////////// JMenu jMenu2=new JMenu(合同管理)。 JMenuItem jMenuItem8=new JMenuItem(修改合同)。 //創(chuàng)建標(biāo)簽,用于顯示信息 JLabel jLabel1=new JLabel(歡迎使用物資合同管理系統(tǒng))。 } catch(Exception exception){ ()。 setTitle(客戶資源管理系統(tǒng))。//關(guān)于 (this)。 /////////////////////////////////// (this)。 ///////////////////////////////////// (this)。 //添加菜單條 setJMenuBar(jMenuBar1)。 (jMenuHelp)。 (jMenuFile2)。 (jMenuItem2)。 (jMenuItem6)。 (jLabel2)。 (new Rectangle(90,150,200,35))。 (add)。 (delete)。 (add)。 (delete)。 (delete)。 (delete)。 (add)。 (delete)。 (delete)。 (delete)。 (delete)。 (delete)。 Dimension dlgSize=()。 //什么作用pack()? //()。//創(chuàng)建對話框類public class MainFrame_AboutBox extends JDialog{ // JPanel jpanel1=new JPanel()。
點擊復(fù)制文檔內(nèi)容
規(guī)章制度相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1