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

正文內(nèi)容

訊時(shí)個(gè)人通訊錄_實(shí)訓(xùn)項(xiàng)目報(bào)告書-在線瀏覽

2024-11-02 10:35本頁(yè)面
  

【正文】 on(){} public static void closeCon(){} } ( 2)登陸 public class Login extends JFrame implements ActionListener{ public Login(){} public void clear(){} public void actionPerformed(ActionEvent e) {} public static void main(String []args){} } ( 3)系統(tǒng)托盤 public class Tray implements ActionListener{ public Tray(String name){ if (()) { (this)。 } public void actionPerformed(ActionEvent e) {} } ( 4)樹結(jié)點(diǎn) public class Tree extends JFrame{ public Tree(){} public static void main(String[] args) {} } 四、詳細(xì)設(shè)計(jì) : : : 部分代碼 : public class Login extends JFrame implements ActionListener{ private JFrame jf = new JFrame()。 private ImageIcon loginbg = new ImageIcon(image/)。 private Image logo = ().getImage(image/)。 private Icon iconlg = new ImageIcon(logobg)。 private JLabel jllg = new JLabel()。 private JButton[] jbArray = { //創(chuàng)建按鈕數(shù)組 new JButton(登錄 ), new JButton(注冊(cè) ), new JButton(修改密碼 ), new JButton(刪除用戶 )}。 //填寫用戶名的文本框 private JPasswordField jpf = new JPasswordField()。 (logo)。 (false)。 (true)。 (0, 0, 300, 250)。 (null)。 (30, 20, 60, 80)。 //用戶名、密碼、登錄、注冊(cè) for (int i = 0。 i++) { jlArray[i].setBounds(100, 20+i*50, 80, 26)。 (jlArray[i])。 jbArray[i].addActionListener(this)。 i 2。 (jbArray[i+2])。 } (150, 20, 120, 30)。 (this)。 (jpf)。● 39。 //設(shè)置密碼的回顯字符 (this)。 (jlArray[2])。 ()。 } public void actionPerformed(ActionEvent e) { //得到用戶名和密碼 String user = ().trim()。 String sql = 。 } else if (() == jbArray[0] || () == jpf){ //登陸判斷 if ((user, pwd)) { MainFrame minf = new MainFrame(())。 //釋放登陸窗體 } else { jlArray[2].setText( + 對(duì)不起,非法的用戶名和密碼! )。 } } else if (() == jbArray[1]) { //注冊(cè)判斷 if (() || ()) { jlArray[2].setText( + 對(duì)不起,用戶名或密碼不能為空! )。 } else { sql = select uid from user where uid = 39。 if ((sql)) { //用戶名已經(jīng)存在 jlArray[2].setText( + 對(duì)不起,該用戶名已經(jīng)存在! )。 } else { sql = insert into user values(39。,39。)。 } } } } else if (() == jbArray[2]) { //修改密碼 if (() || ()) { jlArray[2].setText( + 修改密碼前請(qǐng)先確認(rèn)輸入正確的用戶名和密碼! )。 } else if ((user, pwd)) { String password = (this, 修改密碼 , 請(qǐng)輸入新密碼,并確認(rèn)! , )。 } else { //更新密碼的 SQL sql = update user set pwd=39。 where uid=39。 //更新密碼的 SQL if ((sql) 0) { ()。 } } } else { (this, 用戶名和密碼不匹配??! , 出錯(cuò)啦! , )。 } } else if (() == jbArray[3]) {
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1