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

正文內(nèi)容

局域網(wǎng)qq課程設(shè)計(jì)-資料下載頁

2025-06-27 02:46本頁面
  

【正文】 iendList f=new FriendList(); } //更新在線好友的情況 public void updateFriend(Message m) { String onLineFriend[]=().split( )。 try{ ()。 conn = (url, userName, password)。 sql=()。 String id=select userId from users。 rs=(id)。 int j=0。 jbls=new JLabel[100]。 while(()) { userId=(1)。 //或者 (“accId”)。 (userId+\t)。 j++。 jbls[j]=new JLabel(userId)。 jbls[j].setEnabled(false)。 } conn=(url, userName, password)。 ()。 }catch(SQLException e1){ (fails)。 ()。 } catch (ClassNotFoundException e1) { // TODO Autogenerated catch block ()。 } } public FriendList(String owerId) { =owerId。 //處理第一張卡片(顯示好友列表) jphy_jb1=new JButton(我的好友)。 jphy_jb2=new JButton(陌生人)。 (this)。 jphy_jb3=new JButton(黑名單)。 jphy1=new JPanel(new BorderLayout())。 //假定 有50個好友 jphy2=new JPanel(new GridLayout(50,1,4,4))。 //加載數(shù)據(jù)庫; try{ ()。 conn = (url, userName, password)。 sql=()。 String id=select userId from users。 rs=(id)。 int j=0。 jbls=new JLabel[100]。 while(()) { userId=(1)。 (userId+\t)。 j++。 jbls[j]=new JLabel(userId+,new ImageIcon(image/),)。 jbls[j].setEnabled(true)。 if(jbls[j].getText().equals(owner)) { jbls[j].setEnabled(true)。 } jbls[j].addMouseListener(this)。 (jbls[j])。 } conn=(url, userName, password)。 ()。 }catch(SQLException e1){ (fails)。 ()。 } catch (ClassNotFoundException e1) { // TODO Autogenerated catch block ()。 } //給jphy2,初始化50好友 jphy3=new JPanel(new GridLayout(2,1))。 //把兩個按鈕加入到j(luò)phy3 (jphy_jb2)。 (jphy_jb3)。 jsp1=new JScrollPane(jphy2) 。 //對jphy1初始化 (jphy_jb1,)。 (jsp1,)。 (jphy3, )。 c1=new CardLayout()。 (c1)。 (jphy1,1)。 //在窗口顯示自己的編號。 (owerId)。 (220,400)。 (true)。 } public void actionPerformed(ActionEvent e) { // 如果點(diǎn)擊了陌生人就顯示第二章卡片 if(()==jphy_jb2) { ((), 2)。 } } public void mouseClicked(MouseEvent e) { // 相應(yīng)用戶雙擊的事件,并得到好友的編號 if(()==2) { String friendNo=((JLabel)()).getText()。 ///(你希望的+friendNo+聊天)。 QqChat qqChat=new QqChat(,friendNo)。 //吧聊天界面加入到管理類 (+ +friendNo, qqChat)。 } } public void mouseEntered(MouseEvent e) { // TODO Autogenerated method stub JLabel j1=(JLabel)()。 ()。 } public void mouseExited(MouseEvent e) { // TODO Autogenerated method stub JLabel j1=(JLabel)()。 ()。 }(5):public class QqChat extends JFrame implements ActionListener{ JTextArea jta。 JTextField jtf。 JButton jb。 JPanel jp。 String owerId。 String friendId。 public QqChat(String owerId,String friend) { =owerId。 =friend。 jta=new JTextArea()。 jtf=new JTextField(15)。 jb=new JButton(發(fā)送)。 (this)。 jp=new JPanel()。 (jtf)。 (jb)。 (jta,)。 (jp,)。 (owerId+正在和+friend+聊天)。 ((new ImageIcon(image/).getImage()))。 (300,200)。 (true)。 } public void showMessage(Message m) {String info=()+對+()+說+()+\r\n。 (info)。 } public void actionPerformed(ActionEvent e) { if(()==jb) { Message m=new Message()。 ()。 ()。 ()。 (())。 (new ().toString())。 try { ObjectOutputStream oos=new ObjectOutputStream ((owerId).getS().getOutputStream())。 (m)。 } catch (Exception e1) { ()。 }}}}指導(dǎo)教師評閱意見 教師簽名: 年 月 日
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1