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

正文內(nèi)容

本科畢業(yè)論文-基于java的多人網(wǎng)絡(luò)聊天室設(shè)計(編輯修改稿)

2025-02-14 15:53 本頁面
 

【文章內(nèi)容簡介】 egRepassword = null。 private JTextField jTextFieldRegUserName = null。 private JPasswordField jTextFieldRegPassword = null。 private JPasswordField jTextFieldRegRepassword = null。 public JButton jButtonReg = null。 public JButton jButtonLogin = null。 private InputStream in。 private OutputStream out。 // @jve:declindex=0: private GetServerInfo gif。 private LinkInfo linkInfo。 public Reg(LinkInfo linkInfo){ = linkInfo。 (this)。 ().setVisible(true)。 } public void closeFrame(){ ()。 (null)。 } /** * This method initializes jFrame * * @return */ private JFrame getJFrame() { if (jFrame == null) { jFrame = new JFrame()。 (new Dimension(398, 337))。 (注冊)。 (false)。 (getJContentPane())。 (new () { public void windowClosing( e) { (0)。 } })。 } return jFrame。 } /** * This method initializes jContentPane * * @return */ private JPanel getJContentPane() { if (jContentPane == null) { jLabelRegRepassword = new JLabel()。 (new Rectangle(15, 162, 357, 47))。 (new Font(Dialog, , 18))。 ( 確認密碼:)。 jLabelRegPassword = new JLabel()。 (new Rectangle(15, 94, 357, 47))。 (new Font(Dialog, , 18))。 ( 密 碼:)。 jLabelRegUserName = new JLabel()。 (new Rectangle(15, 31, 357, 47))。 (new Font(Dialog, , 18))。 ( 昵 稱:)。 jContentPane = new JPanel()。 (null)。 (jLabelRegUserName, null)。 (jLabelRegPassword, null)。 (jLabelRegRepassword, null)。 (getJTextFieldRegUserName(), null)。 (getJTextFieldRegPassword(), null)。 (getJTextFieldRegRepassword(), null)。 (getJButtonReg(), null)。 (getJButtonLogin(), null)。 } return jContentPane。 } /** * This method initializes jTextFieldRegUserName * * @return */ private JTextField getJTextFieldRegUserName() { if (jTextFieldRegUserName == null) { jTextFieldRegUserName = new JTextField()。 (new Rectangle(110, 34, 258, 41))。 } return jTextFieldRegUserName。 } /** * This method initializes jTextFieldRegPassword * * @return */ private JPasswordField getJTextFieldRegPassword() { if (jTextFieldRegPassword == null) { jTextFieldRegPassword = new JPasswordField()。 (new Rectangle(110, 97, 258, 41))。 } return jTextFieldRegPassword。 } /** * This method initializes jTextFieldRegRepassword * * @return */ private JPasswordField getJTextFieldRegRepassword() { if (jTextFieldRegRepassword == null) { jTextFieldRegRepassword = new JPasswordField()。 (new Rectangle(111, 165, 258, 41))。 } return jTextFieldRegRepassword。 } /** * This method initializes jButtonReg * * @return */ private JButton getJButtonReg() { if (jButtonReg == null) { jButtonReg = new JButton()。 (new Rectangle(146, 221, 131, 49))。 (注冊)。 (new () { public void actionPerformed( e) { doReg()。 } })。 } return jButtonReg。 } /** * This method initializes jButtonLogin * * @return */ private JButton getJButtonLogin() { if (jButtonLogin == null) { jButtonLogin = new JButton()。 (new Rectangle(289, 266, 88, 28))。 (去登陸)。 (new () { public void actionPerformed( e) { //如果點擊了去登陸按鈕 //關(guān)閉注冊框 closeFrame()。 //打開登陸框 (new Login(linkInfo))。 } })。 } return jButtonLogin。 }// 注冊方法 private void doReg(){ try{ //連接服務(wù)器端 ()。 if(()!=null){ //做一些簡單的驗證,實際上這里應(yīng)該有比較復(fù)雜的驗證,比如敏感字符 if(()!=nullamp。amp。!().equals()amp。amp。()!=nullamp。amp。!().equals()amp。amp。()!=nullamp。amp。!().equals()){ if(!().equals(())){ ().showAlert(兩次密碼輸入不一致)。 }else{ if(in==null){ in = ().getInputStream()。 } if(out==null){ out = ().getOutputStream()。 } //如果獲取來自服務(wù)器端信息的線程沒有啟動,則啟動該線程 if(gif==null){ gif = new GetServerInfo()。 new Thread(gif).start()。 } //注冊過程中,使注冊界面上的注冊按鈕不可用 (false)。// 注冊過程中,使注冊界面上的去登陸按鈕不可用 (false)。 (())。 (, out)。 ((), out)。 ((), out)。 } }else{ ().showAlert(用戶名或密碼為空)。 } } }catch(Exception e){ ()。 } } 用戶列表界面關(guān)鍵代碼:public class TalkingMain { private JFrame jFrame = null。 // @jve:declindex=0:visualconstraint=357,12 private JPanel jContentPane = null。 private JButton jButtonFind = null。 private JScrollPane jScrollPane = null。 private JTree jTree = null。 private ArrayListString allFriends。//所有好友 private ArrayListTalkingMainTreeInfo allTreeNodes = new ArrayListTalkingMainTreeInfo()。//所有好友對應(yīng)樹節(jié)點 private LinkInfo linkInfo。 // @jve:declindex=0: private String me。 // @jve:declindex=0: public TalkingMain(){ ().setVisible(true)。 } public void init(LinkInfo linkInfo){ = ()。 = linkInfo。 (this)。 } public void showAllFriend(ArrayListString allFriends){ = allFriends。 (getJTree(initTree()))。 } /** * This method initializes jFrame * * @return */ public void closeFrame(){ ()。 (null)。 } private JFrame getJFrame() { if (jFrame == null) { jFrame = new JFrame()。 (new Dimension(207, 441))。 (Talking)。 (false)。 (getJContentPane())。 (new () { public void windowClosing( e) { (0)。 } })。 } return jFrame。 } /** * This method initializes jContentPane * * @return */ private JPanel getJContentPane() { if (jContentPane == null) { jContentPane = new JPanel()。 (null)。 (getJButtonFind(), null)。 (getJScrollPane(), null)。 } return jContentPane。 } /** * This method initializes jButtonFind * * @return */ private JButton getJButtonFind() { if (jButtonFind == null) { jButtonFind = new JButton()。 (new Rectangle(1, 384, 199, 29))。 (進入群聊)。 (ne
點擊復(fù)制文檔內(nèi)容
電大資料相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1