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

正文內(nèi)容

課程設(shè)計(jì)--通訊錄管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)(編輯修改稿)

2024-10-15 11:04 本頁(yè)面
 

【文章內(nèi)容簡(jiǎn)介】 30)。 ()。 (370, 130, 180, 30)。 ()。 (370, 180, 180, 30)。 ()。 (370, 230, 180, 30)。 ()。 (100, 50, 200, 200)。 (250, 300, 60, 30)。 (350, 300, 60, 30)。 (150, 300, 60, 30)。 (btn1)。 (btn2)。 (btn3)。 (Name)。 (Tel)。 (q)。 (Address)。 (youb)。 (lb2)。 (lb3)。 (lb4)。 (lb5)。 (lb6)。 (this)。 (this)。 (this)。 } /*public void paint(Graphics g) { (g)。 ImageIcon img = new ImageIcon(D:\\)。 ((), 200, 100, 800, 300, this)。 }*/ @Override public void actionPerformed(ActionEvent e) { // TODO 自動(dòng)生成的方法存根 if(()==btn1){ try { ()。// 加載驅(qū)動(dòng)程序 String url = jdbc:odbc:chengwz。// URL 指向要訪問(wèn)的 數(shù)據(jù)庫(kù)名 test String user = 。// MySQL 配置時(shí)的用戶名 String password = 。// MySQL 配置時(shí)的密碼 ResultSet rs=null 。 Connection connection = (url, user,password)。// 連續(xù)數(shù)據(jù)庫(kù) if (!()) (Succeeded connecting to the Database!)。 Statement statement = ()。// statement 用來(lái)執(zhí)行SQL 語(yǔ)句 PreparedStatement pre=null。 String str2=str1[f]。 String sq2=delete * from cwz where name=?。 pre=(sq2)。 //要執(zhí)行的 SQL (1, str2)。 ()。 ()。 ()。 } catch (Exception ee) { ()。 (============刪除時(shí):拋出異常 ===========)。 } (f)。 for (int d = f。 d j。 d++) { str1[d] = str1[d + 1]。 str2[d] = str2[d + 1]。 str3[d] = str3[d + 1]。 str4[d] = str4[d + 1]。 str5[d] = str5[d + 1]。 } j。 f。 (null, 數(shù)據(jù)刪除成功! )。 } else if(()==btn2){ dispose()。 (0)。 } else if(()==btn3){ new Revisefriend(f)。 } } } /**/ mypan pn2=new mypan(f)。mypan pnc=new mypan(f)。 JLabel Name, Tel, q, Address, youb,lb2,lb3,lb4,lb5,lb6。 JButton btn1, btn2,btn3。 public myframe(){ try { ()。// 加載驅(qū)動(dòng)程序 String url = jdbc:odbc:chengwz。// URL 指向要訪問(wèn)的數(shù)據(jù)庫(kù)名 test String user = 。// MySQL 配置時(shí)的用戶名 String password = 。// MySQL 配置時(shí)的密碼 Connection connection = (url, user, password)。// 連續(xù)數(shù)據(jù)庫(kù) if(!()) (Succeeded connecting to the Database!)。 Statement statement = ()。// statement 用來(lái)執(zhí)行 SQL 語(yǔ)句 String sql = select * from cwz。// 要執(zhí)行的 SQL 語(yǔ)句 ResultSet rs = (sql)。// 執(zhí)行 SQL 語(yǔ)句并返回結(jié)果集 String name = null。 String phone=null。 String =null。 String youbian=null。 String address=null。 while(()) { name = (name)。// 選擇 sname 這列數(shù)據(jù) phone=(phone)。 =()。 address=(address)。 youbian=(postcard)。 str1[j] = name。 str2[j] = phone。 str3[j] =。 str4[j] = address。 str5[j] = youbian。 j++。 (name+ +phone+ +address)。 } ()。// 關(guān)閉結(jié)果集 ()。// 關(guān)閉連接 } catch(ClassNotFoundException e) { (Sorry,can`t find the Driver!)。 ()。 } catch(SQLException e) { ()。 } catch(Exception e) { ()。 } JPanel pn=new JPanel()。 JPanel pn3=new JPanel()。 mypan pn2=new mypan(f)。 mb=new JMenuBar()。 mu1=new JMenu(好友操作 )。 mi1=new JMenuItem(修改 )。mi2=new JMenuItem(刪除)。 mu2=new JMenu(查詢(xún) )。 mi3=new JMenuItem(按姓名 )。mi4=new JMenuItem(按電話 )。 mu3=new JMenu(新增 )。 mi5=new JMenuItem(新建聯(lián)系人 )。 mu4=new JMenu(幫助 )。 mi6=new JMenuItem(關(guān)于 )。mi7=new JMenuItem(退出系統(tǒng) )。 setJMenuBar(mb)。 (mu1)。(mi1)。(mi2)。 (mu2)。(mi3)。(mi4)。 (mu3)。(mi5)。 (mu4)。(mi6)。(mi7)。 ( )。 (lb)。 lt=new JList(dm)。 ()。 //選中后的字體顏色 ()。 JScrollPane sp=new JScrollPane(lt)。 ImageIcon icon=new ImageIcon(D:\\)。 JLabel lbn=new JLabel(8,icon,)。 (lbn)。 add(sp,West)。 add(pn,South)。 add(pn2,Center)。 add(pn3,North)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 (this)。 setSize(800,570)。 setTitle(通訊錄 )。 setVisible(true)。 setResizable(false)。//縮放 setDefaultCloseOperation()。 setLocationRelativeTo(null)。 (true)。 /*Font font=new Font(JFrame,14)。 Enumeration keys=().keys()。 while(()){ Object key=()。 if((key)instanceof Font)(keys, font)。 }*/ } public void actionPerformed(ActionEvent e){ if(()==mi1){ new ReviseFriendname()。 } else if(()==mi2){ new Deletefriend()。 } else if(()==mi3){ new Searchfriend()。 } else if(()==mi4){ new search2()。 } else if(()==mi5){ new Addfriend()。 } else if(()==mi6){ new about ()。 } else if(()==mi7){ ()。 } } @Override public void mouseClicked(MouseEvent e) { // TODO 自動(dòng)生成的方法存根 if (() == 1) { int index=(())。 f=index。 ()。 (balck)。 Name = new JLabel(str1[index]+ 的聯(lián)系方式 )。 Tel = new JLabel(電話 :)。 lb2=new JLabel(str2[index])。 q = new JLabel(:)。 lb3=new JLabel(str3[index])。 Address = new JLabel(地址 :)。 lb4=new JLabel(str4[index])。 youb=new JLabel(郵編 )。 lb5=new JLabel(str5[index])。 ImageIcon img6 = new ImageIcon(D:\\workspace\\image\\)。 if(index==1)img6 = new ImageIcon(D:\\workspace\\image\\)。 if(index==2)img6 = new ImageIcon(D:\\workspace\\image\\)。 if(index==3)img6=new ImageIcon(D:\\workspace\\image\\)。 if(index==4)img6 = new ImageIcon(D:\\workspace\\image\\)。 if(index==4)img6 = new ImageIcon(D:\\workspace\\image\\)。 if(index==5)img6 = new ImageIcon(D:\\workspace\\image\\)。 if(index==6)img6 = new ImageIcon(D:\\workspace\\image\\)。 if(index==7)img6 = new ImageIcon(D:\\workspace\\image\\)。 if(index==8)img6 = new ImageIcon(D:\\workspace\\image\\)。 if(in
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1