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

正文內(nèi)容

課程設(shè)計--通訊錄管理系統(tǒng)的設(shè)計與實現(xiàn)-文庫吧資料

2025-01-23 04:08本頁面
  

【正文】 。 (2, ())。 pre=(sql)。 Statement statement = ()。// 連續(xù)數(shù)據(jù)庫 PreparedStatement pre=null。 // MySQL配置時的用戶名 String password = 。// 加載驅(qū)動程序 String url = jdbc:odbc:chengwz。 j++。 str4[j] = ()。 str2[j] = ()。 } public void actionPerformed(ActionEvent e) { if (() == btn1) { if(().trim().equals())new kong()。 ()。 (this)。 (yb)。 (uTxt3)。 (uTxt1)。 (Address)。 (Tel)。 (btn2)。 (300, 300, 60, 30)。 (170, 230, 180, 30)。 (170, 130, 180, 30)。 (170, 30, 180, 30)。 (130, 180, 60, 30)。 (130, 80, 60, 30)。 yb=new JTextField(20)。 uTxt3 = new JTextField(20)。 uTxt1 = new JTextField(20)。 btn1 = new JButton(新增)。 Address = new JLabel(地址:)。 Tel = new JLabel(電話:)。 (null)。 Addfriend() { (500, 390)。 JLabel Name, Tel, , Address,youbian。 new delete(index)。 ()。 (lb6)。 (lb4)。 (lb2)。 (Address)。 (Tel)。 (btn3)。 (btn1)。 (350, 300, 60, 30)。 (100, 50, 200, 200)。 (370, 230, 180, 30)。 (370, 180, 180, 30)。 (370, 130, 180, 30)。 (370, 80, 180, 30)。 (330, 180, 60, 30)。 Tel. setBounds(330, 80, 60, 30)。 Name. setBounds(340, 30, 200, 30)。 btn2 = new JButton(退出)。 lb6=new JLabel(,img6,)。 if(index==8)img6 = new ImageIcon(D:\\workspace\\image\\)。 if(index==6)img6 = new ImageIcon(D:\\workspace\\image\\)。 if(index==4)img6 = new ImageIcon(D:\\workspace\\image\\)。 if(index==3)img6=new ImageIcon(D:\\workspace\\image\\)。 if(index==1)img6 = new ImageIcon(D:\\workspace\\image\\)。 lb5=new JLabel(str5[index])。 lb4=new JLabel(str4[index])。 lb3=new JLabel(str3[index])。 lb2=new JLabel(str2[index])。 Name = new JLabel(str1[index]+ 的聯(lián)系方式)。 ()。 } }Overridepublic void mouseClicked(MouseEvent e) { // TODO 自動生成的方法存根 if (() == 1) { int index=(())。 } else if(()==mi6){ new about ()。 } else if(()==mi4){ new search2()。 } else if(()==mi2){ new Deletefriend()。 if((key)instanceof Font)(keys, font)。 Enumeration keys=().keys()。 (true)。//縮放 setDefaultCloseOperation()。 setVisible(true)。 setSize(800,570)。 (this)。 (this)。 (this)。 (this)。 add(pn2,Center)。 add(sp,West)。 JLabel lbn=new JLabel(8,icon,)。 JScrollPane sp=new JScrollPane(lt)。 ()。 (lb)。(mi7)。 (mu4)。 (mu3)。(mi3)。(mi2)。 (mu1)。mi7=new JMenuItem(退出系統(tǒng))。 mu4=new JMenu(幫助)。 mu3=new JMenu(新增)。 mi3=new JMenuItem(按姓名)。mi2=new JMenuItem(刪除)。 mu1=new JMenu(好友操作)。 mypan pn2=new mypan(f)。 } JPanel pn=new JPanel()。 } catch(SQLException e) { ()。// 關(guān)閉連接 } catch(ClassNotFoundException e) { (Sorry,can`t find the Driver!)。 } ()。 j++。 str4[j] = address。 str2[j] = phone。 youbian=(postcard)。 =()。 while(()) { name = (name)。 String youbian=null。 String phone=null。// 要執(zhí)行的SQL語句 ResultSet rs = (sql)。 Statement statement = ()。// MySQL配置時的密碼 Connection connection = (url, user, password)。// URL指向要訪問的數(shù)據(jù)庫名test String user = 。public myframe(){try { ()。JLabel Name, Tel, q, Address, youb,lb2,lb3,lb4,lb5,lb6。 } }}/**/mypan pn2=new mypan(f)。 (0)。 (null, 數(shù)據(jù)刪除成功!)。 } j。 str4[d] = str4[d + 1]。 str2[d] = str2[d + 1]。 d j。 } (f)。 } catch (Exception ee) { ()。 ()。 //要執(zhí)行的SQL (1, str2)。 String sq2=delete * from cwz where name=?。// statement用來執(zhí)行SQL語句 PreparedStatement pre=null。// 連續(xù)數(shù)據(jù)庫 if (!()) (Succeeded connecting to the Database!)。// MySQL配置時的密碼 ResultSet rs=null 。// URL指向要訪問的數(shù)據(jù)庫名test String user = 。 }*/ Override public void actionPerformed(ActionEvent e) { // TODO 自動生成的方法存根 if(()==btn1){ try { ()。 ImageIcon img = new ImageIcon(D:\\)。 (this)。 (this)。 (lb5)。 (lb3)。 (youb)。 (q)。 (Name)。 (btn2)。 (150, 300, 60, 30)。 (250, 300, 60, 30)。 ()。 ()。 ()。 ()。 (330, 230, 60, 30)。 q. setBounds(330, 130, 60, 30)。()。 btn3 = new JButton(修改)。 btn1 = new JButton(刪除)。 if(x==9)img6 = new ImageIcon(D:\\workspace\\image\\)。 if(x==7)img6 = new ImageIcon(D:\\workspace\\image\\)。 if(x==5)img6 = new ImageIcon(D:\\workspace\\image\\)。 if(x==3)img6=new ImageIcon(D:\\workspace\\image\\)。 if(x==1)img6 = new ImageIcon(D:\\workspace\\image\\)。 lb5=new JLabel(str5[x])。 lb4=new JLabel(str4[x])。 lb3=new JLabel(str3[x])。 lb2=new JLabel(str2[x])。 Name = new JLabel(str1[x]+ 的聯(lián)系方式)。 setLayout(null)。 JButton btn1, btn2,btn3。 // 地址String str5[] = new String[20]。 // 電話String str3[] = new String[20]。String str1[] = new String[20]。public int t = 0。public int j = 0。DefaultListModel dm=new DefaultListModel()。private JMenu mu1,mu2,mu3,mu4。public class myframe extends JFrame implements ActionListener,MouseListener{JList lt。import .*。import .*。import .*。參考文獻[1] java面向?qū)ο?程序設(shè)計 董小園 編著 清華大學出版社[2] java程序設(shè)計教程 遲麗華 清華大學出版社[3] java 核心技術(shù) 卷2:高級特性 Cay 機械工業(yè)出版社附錄1完整源代碼:// package kkh。為以后的學習打下良好的基礎(chǔ)?!?0. 致謝 java語言課程設(shè)計是一門非常重要的計算機基礎(chǔ)課,學得好與否對我們以后都很重要。雖然到現(xiàn)在我還掌握得不好。經(jīng)過這次實習,我知道自己的計算機知識還是相當有限的,在這次的程序編譯過程中遇到了很多自己無法解決的問題,可是通過老師的指導,上網(wǎng)查看資料,問高年級的學長學姐等方法,最終問題都基本解決了。這次設(shè)計給了我一次真正認識計算機語言的機會,剛開始我一臉的迷茫,不知道從哪里開始動手,覺得java語言是一種很深奧的東西,對于剛開始接觸這門課程的我來說非
點擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1