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

正文內(nèi)容

面向?qū)ο蟪绦蛟O(shè)計課程設(shè)計--個人通訊錄管理-在線瀏覽

2025-02-18 19:05本頁面
  

【正文】 形用戶界面( GUI)。 包,提供接口和類來處理不同類型的事件觸發(fā)的 AWT 組件。 類的描述 類,包含了程序 的入口函數(shù)。 類,內(nèi)部類,顯示文件的基本信息。 5. find 類,事件監(jiān)聽類,實現(xiàn)查找聯(lián)系人的功能。 7. findall 類,事件監(jiān)聽類,實現(xiàn)查詢?nèi)柯?lián)系人的功能。 類之間的關(guān)系 類,繼承了 包中的 JFrame 類。 delete a[],i,findpersion deletefile(),addfile() find a[],i,findpersion findfile()。 export a[],i,str,defaultdisk,defaultfilename, file findallfile(),addfile() 4 頁面設(shè)計 圖 7 測試與分析 1.添加信息(見圖 8) 姓名 籍貫 性別 刪除 查找 刪除聯(lián)系人姓名 輸入查找聯(lián)系人姓名 聯(lián)系方式 Email 菜單 添加 查看全部聯(lián)系人信息 導(dǎo)出全部聯(lián)系人信息 男 女 5 圖 8 (見圖 9) 圖 9 (見圖 10) 圖 10 (見圖 11) 6 圖 11 (見圖 12) 圖 12 程序代碼 import .*。 import .*。 import .*。 JLabel namelabel,numberlabel,sexlabel,nativelabel,tellabel,label, fnamelabel,dnamelabel。 JButton addbutton,findbutton,delbutton,findallbutton,exportbutton。 JRadioButton manradiobutton,womanradiobutton。 JMenu filemenu,helpmenu。 ButtonGroup group=new ButtonGroup()。//計數(shù) Address_Book(String s){ super(s)。 con=()。 namelabel=new JLabel(姓名: ,)。 (10)。 String items[]={請從列表中選擇 ,北京 ,上海 ,天津 ,遼寧 ,安徽 ,河北 }。 sexlabel=new JLabel(性別: ,)。 womanradiobutton=new JRadioButton(女 )。 telfield=new JTextField()。 label=new JLabel(Email: ,)。 (10)。 fnamelabel=new JLabel(輸入查找人姓名: ,)。 (10)。 dnamelabel=new JLabel(刪除聯(lián)系人姓名: ,)。 (10)。 findallbutton=new JButton(查看全部聯(lián)系人信息 )。 /*菜單 */ menubar=new JMenuBar()。 helpmenu=new JMenu(幫助 )。 item2=new JMenuItem(退出 )。 /*添加菜單 */ (filemenu)。 (item1)。 (item3)。 (true)。 9 (namelabel)。 pane2=new JPanel(new FlowLayout(,1,1))。 (bobox)。 (manradiobutton)。 (sexlabel)。 (womanradiobutton)。 (tellabel)。 pane5=new JPanel(new FlowLayout(,1,1))。 (field)。 (addbutton)。 (fnamelabel)。 pane8=new JPanel(new FlowLayout(,1,1))。 pane9=new JPanel(new FlowLayout(,1,1))。 (delfield)。 (delbutton)。 (findallbutton)。 (exportbutton)。 (pane1)。 (pane2)。 (pane3)。 (pane4)。 (pane5)。 (pane6)。 /*為按鈕添加事件 */ (new export())。 (new about())。 (new find())。 (new findall())。 /*容器設(shè)置 */ (pane)。 ()。 } //菜單 文件 退出 class exit implements ActionListener{ public void actionPerformed(ActionEvent e){ (0)。 } } /*添加聯(lián)系人 addbutton*/ class add implements ActionListener{ String s=null。 } else{ s= 姓 名 : +()+ + 籍 貫 : 12 +()+ +性別: +女 + +聯(lián)系方式: +()+ +郵箱: +()。 addfile()。 } } public void addfile(){ byte a[]=()。 byte[] b1=()。 (a)。 (null, 信息寫入成功 , 提示,
點擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1