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

正文內容

課程設計--通訊錄管理系統(tǒng)的設計與實現(xiàn)-wenkub

2022-09-20 11:04:56 本頁面
 

【正文】 的信息 提示查無此聯(lián)系人 繼續(xù)選擇功能 ……… 選擇想要的查詢 方式 ReviseFriendname 類 : :修改好友姓名搜索 界面,有一個文字輸入框提供輸入 好友姓名,兩個控制按鈕 —— “搜索 ”和“退出”。 Search2 類: 按 電話 查詢好友界面,提供按電話搜索,有一個文字輸入框,和兩個控制按鈕 —— “查詢”和“退出”。 好友信息界面 : 顯示好友的聯(lián)系方式。 刪除好友 界面 : 利用文本框類 JTexField 提供的文本區(qū) JTexArea 組件 輸入好友信息 ,按鈕 JButton 組件,事件處理 ,標簽類 JLabel 提示輸入的對象。 本課程設計主要解決通訊錄應用的管理問題 , 設計開發(fā)一個簡單的通訊錄 系統(tǒng) ,實現(xiàn)新建聯(lián)系人, 不 同方式 查找信息,刪除信息,修改信息 , 聯(lián)系人頭像 ,退出系統(tǒng)等功能。 ( 4)運行調試與分析討論 給出運行屏幕截圖,分析運行結果, 有何 改進想法 等 。課程設計 (論文 )任務書 一、課程設計 (論文 )題目 通訊錄管理 設計 二、課程設計 (論文 )工作自 2020 年 9 月 23 日起至 2020 年 10 月 13 日止。 ( 5)設計體會與小結 設計遇到的問題 及解決辦法,通過設計學到了哪些新知識, 鞏固了哪些知識,有哪些提高。在課程設計中,程序通過調試運行,初步實現(xiàn)了設計目標,并且經(jīng)過適當完善后,將可以應用在通訊錄應用的管理中,解決實際問題。 修改 界面 :輸入要修改的 聯(lián)系人姓名,是否找到該聯(lián)系人,如果找到記錄,調用修改方法,對該聯(lián)系人 的信息進行修改;如果沒有找到, 彈出提示框,查無此聯(lián)系人 。 查詢不到好友界面 : 提示無此聯(lián)系人信息。 Addfriend 類 : 編輯 ,新增好友界面,輸入需要增加的姓名,電話,手機,住址, ,郵編 之后,兩個控制按鈕 —— “增加”和“退出”。 Deletefriend 類 : 刪除好友 搜索姓名界面,輸入了完整姓名,兩個控制按鈕 —— “打開 ”和“退出”。 mypan 類 : 中間面板 。 // 電話 String str3[] = new String[20]。利用數(shù)組下表操作實現(xiàn)好友準確查看,刪除,編輯功能。// URL 指向要訪問的數(shù)據(jù)庫名 test String user = 。 Statement statement = ()。 String name = null。 while(()) { name = (name)。 (name + \t + phone+\t++\t+youbian)。 ()。這次 設計 給了我一次真正認識 計算機 語言的機會,剛開始我一臉的迷茫,不知道從哪里開始動手,覺得 java 語言是一種很深奧的東西,對于剛開始接觸這門課程的我來說非常的不適應。雖然到現(xiàn)在我還掌握得不好。為以后的學習打下良好的基礎。 import .*。 import .*。 private JMenu mu1,mu2,mu3,mu4。 public int j = 0。 String str1[] = new String[20]。 // 地址 String str5[] = new String[20]。 setLayout(null)。 lb2=new JLabel(str2[x])。 lb4=new JLabel(str4[x])。 if(x==1)img6 = new ImageIcon(D:\\workspace\\image\\)。 if(x==5)img6 = new ImageIcon(D:\\workspace\\image\\)。 if(x==9)img6 = new ImageIcon(D:\\workspace\\image\\)。 btn3 = new JButton(修改 )。 q. setBounds(330, 130, 60, 30)。 ()。 ()。 (250, 300, 60, 30)。 (btn2)。 (q)。 (lb3)。 (this)。 ImageIcon img = new ImageIcon(D:\\)。// URL 指向要訪問的 數(shù)據(jù)庫名 test String user = 。// 連續(xù)數(shù)據(jù)庫 if (!()) (Succeeded connecting to the Database!)。 String sq2=delete * from cwz where name=?。 ()。 } (f)。 str2[d] = str2[d + 1]。 } j。 (0)。 JLabel Name, Tel, q, Address, youb,lb2,lb3,lb4,lb5,lb6。// URL 指向要訪問的數(shù)據(jù)庫名 test String user = 。 Statement statement = ()。 String phone=null。 while(()) { name = (name)。 youbian=(postcard)。 str4[j] = address。 } ()。 } catch(SQLException e) { ()。 mypan pn2=new mypan(f)。mi2=new JMenuItem(刪除)。 mu3=new JMenu(新增 )。mi7=new JMenuItem(退出系統(tǒng) )。(mi2)。 (mu3)。(mi7)。 ()。 JLabel lbn=new JLabel(8,icon,)。 add(pn2,Center)。 (this)。 (this)。 setVisible(true)。 (true)。 if((key)instanceof Font)(keys, font)。 } else if(()==mi4){ new search2()。 } } Override public void mouseClicked(MouseEvent e) { // TODO 自動生成的方法存根 if (() == 1) { int index=(())。 Name = new JLabel(str1[index]+ 的聯(lián)系方式 )。 lb3=new JLabel(str3[index])。 lb5=new JLabel(str5[index])。 if(index==3)img6=new ImageIcon(D:\\workspace\\image\\)。 if(index==6)img6 = new ImageIcon(D:\\workspace\\image\\)。 lb6=new JLabel(,img6,)。 Name. setBounds(340, 30, 200, 30)。 (330, 180, 60, 30)。 (370, 130, 180, 30)。 (370, 230, 180, 30)。 (350, 300, 60, 30)。 (btn3)。 (Address)。 (lb4)。 ()。 JLabel Name, Tel, , Address,youbian。 (null)。 Address = new JLabel(地址 :)。 uTxt1 = new JTextField(20)。 yb=new JTextField(20)。 (130, 180, 60, 30)。 (170, 130, 180, 30)。 (300, 300, 60, 30)。 (Tel)。 (uTxt1)。 (yb)。 ()。 str2[j] = ()。 j++。 // MySQL 配置時的用戶名 String password = 。 Statement statement = ()。 (2, ())。 ()。// 關閉連接 } catch(Exception ee) { (==charucuowu)。 } } } //按姓名查詢好友界面 public class Searchfriend extends JFrame implements ActionListener { JLabel label。 Searchfriend() { (400, 300)。 uTxt = new JTextField(20)。 (130, 100, 140, 30)。 (uTxt)。 (this)。 } public void actionPerformed(ActionEvent e) { if (() == btn1) { if(().trim().equals()) (null, 請輸入姓名 ! )。 for(f=0。f++) if(!().equals(str1[f])amp。 } } if (() == btn2) { ()。 search2() { (400, 300)。 uTxt = new JTextField(20)。 (130, 100, 140, 30)。 (uTxt)。 (this)。 } public void actionPerformed(ActionEvent e) { if (() == btn1) { if(().trim().equals()) (null, 請輸入聯(lián)系人號碼! )。 for(f=0。f++) if((!().equals(str2[f]))amp。} } if (() == btn2) { ()。 Revisefriend(int t) { (500, 380)。 Tel = new JLabel(電話 :)。 btn1 = new JButton(修改 )。 uTxt3 = new JTextField(20)。 (130, 80, 60, 30)。 (170, 30, 180, 30)。 (170, 230, 180, 30)。 (str2[t])。 (btn1)。 ()。 (uTxt2)。 (this)。 (true)。 str2[t] = ()。 (t)。 String user = 。 Connection connection = (url, user, password)。 pre=(sql)。 (4, ())。 ()。 } ()。 JButton btn1, btn2。 FriendName = new JLabel(好友名 )。 (80, 100, 60, 30)。 (this)。 (btn1)。 (true)。 m++) if (().equals(str1[m])){ cag=m。amp。(m==j)) new none()。 JTextField uTxt。 (搜索你要刪除的好友名 )。 btn1 = new JButton(打開 )。
點擊復制文檔內容
環(huán)評公示相關推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1