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

正文內(nèi)容

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

2025-01-17 04:08本頁面
  

【正文】 } } }//刪除好友界面1 public class Deletefriend extends JFrame implements ActionListener { JLabel FriendName。 JTextField uTxt。 JButton btn1, btn2。 String name。 Deletefriend() { (400, 300)。 (搜索你要刪除的好友名 )。 (null)。 FriendName = new JLabel(好友名)。 uTxt = new JTextField(20)。 btn1 = new JButton(打開)。 btn2 = new JButton(退出)。 (80, 60, 100, 30)。 (140, 60, 180, 30)。 (100, 200, 60, 30)。 (200, 200, 60, 30)。 (uTxt)。 (FriendName)。 (btn1)。 (btn2)。 (this)。 (this)。 (650,340)。 ()。 (true)。 } public void actionPerformed(ActionEvent e) { if (() == btn2) { ()。 } if (() == btn1) { if(().trim().equals())new kong()。 else{ for (int h = 0。 h = j。 h++) if (().equals(str1[h])) { new delete(h)。 } for(int h1=0。h1=jamp。amp。(!().equals(str1[h1]))。h1++) if((!().equals(str1[h1])amp。amp。h1==j)) new none()。 ()。} } } }//刪除好友界面2 public class delete extends JFrame implements ActionListener { JLabel Name, Tel, q, Address, youb,lb2,lb3,lb4,lb5。 JButton btn1, btn2。 delete(int h) { f=h。 (500, 380)。 (聯(lián)系人信息)。 (null)。 Name = new JLabel(str1[f]+ 的聯(lián)系方式)。 Tel = new JLabel(電話:)。 lb2=new JLabel(str2[f])。 q = new JLabel(:)。 lb3=new JLabel(str3[f])。 Address = new JLabel(地址:)。 lb4=new JLabel(str4[f])。 youb=new JLabel(郵編)。 lb5=new JLabel(str5[f])。 btn1 = new JButton(刪除)。 btn2 = new JButton(返回)。 Name. setBounds(190, 30, 200, 30)。()。 Tel. setBounds(180, 80, 60, 30)。 q. setBounds(180, 130, 60, 30)。 (180, 180, 60, 30)。 (180, 230, 60, 30)。 (220, 80, 180, 30)。 ()。 (220, 130, 180, 30)。 ()。 (220, 180, 180, 30)。 ()。 (220, 230, 180, 30)。 ()。 (150, 270, 60, 30)。 (300, 270, 60, 30)。 (btn1)。 (btn2)。 (Name)。 (Tel)。 (q)。 (Address)。 (youb)。 (lb2)。 (lb3)。 (lb4)。 (lb5)。 (this)。 (this)。 (650,340)。 ()。 (true)。 } public void actionPerformed(ActionEvent e) { if (() == btn1) { try { ()。// 加載驅(qū)動程序 String url = jdbc:odbc:chengwz。// URL指向要訪問的數(shù)據(jù)庫名test String user = 。// MySQL配置時的用戶名 String password = 。// MySQL配置時的密碼 ResultSet rs=null 。 Connection connection = (url, user,password)。// 連續(xù)數(shù)據(jù)庫 if (!()) (Succeeded connecting to the Database!)。 Statement statement = ()。// statement用來執(zhí)行SQL語句 PreparedStatement pre=null。 String str2=str1[f]。 String sq2=delete * from cwz where name=?。 pre=(sq2)。 //要執(zhí)行的SQL (1, str2)。 ()。 ()。 ()。 } catch (Exception ee) { ()。 (============刪除時:拋出異常===========)。 } (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。 ()。 } else if (() == btn2) { ()。 } }}//關(guān)于 public class about extends JFrame { JLabel lb1, lb2,lb3,lb4,lb5。 about() { (300, 200)。 (關(guān)于)。 (null)。 lb1 = new JLabel( java 課程設(shè)計 通訊錄 )。 lb2 = new JLabel(海南師范大學信息學院 2012級計本(1)班 )。 lb3 = new JLabel( 指導老師:文 斌 )。 lb4 = new JLabel( )。 lb5 = new JLabel(陳萬洲 201224010203)。 (20, 0, 400, 50)。 (20, 20, 400, 50)。 (20, 40, 400, 50)。 (20, 60, 400, 100)。 (20, 80, 400, 100)。 ()。 (lb1)。 (lb2)。 (lb3)。 (lb4)。 (lb5)。 (650,340)。 ()。 (true)。 }}//查無此人 public class none extends JFrame { JLabel lb1。 none() { (300, 200)。 (提示)。 (null)。 lb1 = new JLabel(查無此聯(lián)系人!)。 (20, 0, 400, 100)。 ()。 (lb1)。 (650,340)。 ()。 (true)。 } } //沒有輸入名字提示界面 public class kong extends JFrame implements ActionListener{ JLabel lb1。 JButton bt=new JButton(OK)。 kong() { (300, 200)。 (提示)。 (null)。 lb1 = new JLabel(請輸入好友姓名 !)。 (20, 0, 400, 100)。 (120, 100, 60, 30)。 ()。 ()。 (lb1)。 (bt)。 (this)。 (1019,414)。 ()。 (true)。 } @Override public void actionPerformed(ActionEvent e) { // TODO 自動生成的方法存根 dispose()。 } } }// 登錄界面package kkh。import .*。import .*。import .*。 class enter extends JFrame implements ActionListener { JLabel lb,user,mima。 JButton btn。 JProgressBar pg=new JProgressBar(1, 100)。 Timer tim。 public JTextField user2。 public JPasswordField mima2。 int n=100。 enter() { setSize(550, 420)。 //setTitle(系統(tǒng)登錄)。 (true)。 (溝通、從這里開始!)。 ()。 ()。 toFront()。 tim=new (100, this)。 (this)。 JPanel pn=new JPanel()。 setContentPane(pn)。 (null)。 user2=new JTextField(6)。 mima2=new JPasswordField(6)。 (39。*39。)。 user=new JLabel(用戶:)。 mima=new JLabel(密碼:)。 ImageIcon img3= new ImageIcon(D:\\workspace\\image\\)。 lb=new JLabel(img3)。 ImageIcon img1= new ImageIcon(D:\\workspace\\image\\)。 btn = new JButton(img1)。 (20, 150, 50, 30)。(55, 150, 100, 30)。 (20, 200, 50, 30)。(55, 200, 100, 30)。 (0, 346, 550, 30)。 (0, 0, 550, 358)。 (240, 249, 76, 41)。 (true)。 (user)。(user2)。 (mima)。(mima2)。 (pg)。 (btn)。 (lb)。 (this)。 (null)。 ()。 (true)。 } public void actionPerformed(ActionEvent e) { if (() == btn) { if(().trim().equals(123)amp。amp。(().trim().equals(123))){ ()。 (正在進入通訊錄系統(tǒng).......)。 setCursor
點擊復制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1