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

正文內(nèi)容

畢業(yè)設(shè)計(jì)(論文)-基于java的多人聊天室設(shè)計(jì)(編輯修改稿)

2025-07-11 06:05 本頁面
 

【文章內(nèi)容簡介】 tentPane())。 (new () { public void windowClosing( e) { (0)。 } })。 } return jFrame。 } /** * This method initializes jContentPane * * @return */ private JPanel getJContentPane() { if (jContentPane == null) { jLabelLoginPassword = new JLabel()。 (new Rectangle(18, 107, 335, 38))。 (new Font(Dialog, , 14))。 ( 密 碼: )。 jLabelLoginUserName = new JLabel()。 (new Rectangle(18, 53, 335, 38))。 (new Font(Dialog, , 14))。 ( Talk 號(hào): )。 jContentPane = new JPanel()。 (null)。 (jLabelLoginUserName, null)。 (jLabelLoginPassword, null)。 (getJTextFieldLoginUserName(), null)。 (getJTextFieldLoginPassword(), null)。 (getJButtonLogin(), null)。 (getJButtonReg(), null)。 } return jContentPane。 } /** * This method initializes jTextFieldLoginUserName * * @return */ private JTextField getJTextFieldLoginUserName() { if (jTextFieldLoginUserName == null) { jTextFieldLoginUserName = new JTextField()。 (new Rectangle(84, 56, 266, 33))。 (new () { public void keyPressed( e) { if(()==){ //當(dāng)在用戶名框中按回車時(shí),調(diào)用登陸方法 doLogin()。 } } })。 } return jTextFieldLoginUserName。 } /** * This method initializes jTextFieldLoginPassword * * @return */ private JTextField getJTextFieldLoginPassword() { if (jTextFieldLoginPassword == null) { jTextFieldLoginPassword = new JPasswordField()。 (new Rectangle(84, 111, 266, 33))。 (new () { public void keyPressed( e) { if(()==){ //當(dāng)在密碼框中按回車時(shí),調(diào)用登陸方法 doLogin()。 } } })。 } return jTextFieldLoginPassword。 } /** * This method initializes jButtonLogin * * @return */ private JButton getJButtonLogin() { if (jButtonLogin == null) { jButtonLogin = new JButton()。 (new Rectangle(143, 162, 120, 41))。 (登陸 )。 (new () { public void actionPerformed( e) { //當(dāng)點(diǎn)擊了登陸按鈕時(shí),調(diào)用登陸方法 doLogin()。 } })。 } return jButtonLogin。 } //登陸方法 private void doLogin(){ try{ //連接服務(wù)器端 ()。 if(()!=null){ //做一些簡單的驗(yàn)證,實(shí)際上這里應(yīng)該有比較復(fù)雜的驗(yàn)證,比如敏感字符 if(()!=nullamp。amp。!jTextFieldLogi().equals()amp。amp。t()!=nullamp。amp。!().equals()){ if(in==null){ in = ().getInputStream()。 } if(out==null){ out = ().getOutputStream()。 } // 如 果獲取來自服務(wù)器端信息的線程沒有啟動(dòng),則啟動(dòng)該線程 if(gif==null){ gif = new GetServerInfo()。 new Thread(gif).start()。 } //登陸過程中,使登陸界面上的登陸按鈕不可用 (false)。 //設(shè)置 LinkInfo 中自己的信息 (())。 //發(fā)送登陸請(qǐng)求 (, out)。 ((), out)。 ((), out)。 }else{ ().showAlert(用戶名或密碼為空 )。 } } }catch(Exception e){ ()。 } } 注冊(cè)界面 關(guān)鍵代碼 /** * This method initializes jButtonReg * * @return */ private JButton getJButtonReg() { if (jButtonReg == null) { jButtonReg = new JButton()。 (new Rectangle(295, 214, 82, 28))。 (去注冊(cè) )。 (new () { public void actionPerformed( e) { //如果點(diǎn)擊了去注冊(cè)按鈕 //關(guān)閉登陸框 closeFrame()。 //顯示注冊(cè)框 (new Reg(linkInfo))。 } })。 } return jButtonReg。 } public class Reg { private JFrame jFrame = null。 // @jve:declindex=0:visualconstraint=241,22 private JPanel jContentPane = null。 private JLabel jLabelRegUserName = null。 private JLabel jLabelRegPassword = null。 private JLabel jLabelRegRepassword = 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))。 (注冊(cè) )。 (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))。 ( 確認(rèn)密碼: )。 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 jTextF
點(diǎn)擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計(jì)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1