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

正文內(nèi)容

java課設(shè)-企業(yè)人事管理系統(tǒng)(doc畢設(shè)論文)-資料下載頁(yè)

2025-06-23 15:54本頁(yè)面
  

【正文】 ((id))。 } ()。 ()。 } private void initComponents() { jPanel1 = new ()。 jButton1 = new ()。 jButton2 = new ()。 jTextField1 = new ()。 jTextField2 = new ()。 jTextField3 = new ()。 jTextField4 = new ()。 jTextField5 = new ()。 jLabel1 = new ()。 jLabel2 = new ()。 jLabel3 = new ()。 jLabel4 = new ()。 jLabel5 = new ()。 jLabel6 = new ()。 jLabel7 = new ()。 jComboBox1 = new ()。 jButton3 = new ()。 (修 改)。 (new () { public void actionPerformed( evt) { Alter(evt)。 } })。 (刪 除)。 (new () { public void mouseClicked( evt) { deletePeople(evt)。 } })。 (姓 名)。 (性 別)。 (年 齡)。 (入職時(shí)間)。 (人員ID)。 (刪除人員)。 (所屬部門)。 (查 詢)。 (new () { public void actionPerformed( evt) { Search(evt)。 } })。 private void deletePeople( evt) { if((this, 是否刪除, 請(qǐng)確認(rèn),)==0){ String id = 。 id = (())。 Update_people ud = new Update_people()。 try { (id)。 } catch (Exception e) { } ()。 ()。 ()。 ()。 ()。 } else { }} private void Search( evt) { // TODO add your handling code here: String id = 。 String pn=。 String pg=。 String pa=。 String pj=。 String pd=。 id = (())。 (id)。 Search_people sd = new Search_people()。 ResultSet rs。 try { rs = (id)。 while (()) { pn = (p_name)。 pg = (p_gender)。 pa = (p_age)。 pj = (p_jointime)。 pd = (p_dept)。 } ()。 (pn)。 (pg)。 (pa)。 (pj)。 (pd)。 } catch (Exception e) { } } private void Alter( evt) { String id = 。 String pn=。 String pg=。 String pa=。 String pj=。 String pd=。 id = (())。 pn= ()。 pg= ()。 pa= ()。 pj= ()。 pd= ()。 Update_people ud = new Update_people()。 try { (id,pn,pg,pa,pj,pd)。 (this, 修改成功, 人員修改, )。 } catch (Exception e) { } } // Variables declaration do not modify private jButton1。 private jButton2。 private jButton3。 private jComboBox1。 private jLabel1。 private jLabel2。 private jLabel3。 private jLabel4。 private jLabel5。 private jLabel6。 private jLabel7。 private jPanel1。 private jTextField1。 private jTextField2。 private jTextField3。 private jTextField4。 private jTextField5。 // End of variables declaration }由于登錄用戶存在信息安全等問(wèn)題,因此密碼的修改顯得非常有必要??紤]到用戶容易誤操作,我們做了比較細(xì)致的錯(cuò)誤提示。這樣就大大的降低了用戶誤操作的風(fēng)險(xiǎn),提高了系統(tǒng)的人性化程度,給操作者良好的用戶體驗(yàn)。當(dāng)新密碼輸入框都為空或者,兩個(gè)密碼框輸入的密碼不一致時(shí),系統(tǒng)將提示出錯(cuò)。 錯(cuò)誤提示界面登錄用戶密碼修改的代碼如下:package jiemian。import 。import 。import 。import 。import 。import 。public class AlterPassWord_C extends { /** Creates new form AlterPassWord */ public AlterPassWord_C() throws Exception { initComponents()。 GetAdminId gdi = new GetAdminId()。 ResultSet rs = ()。 for (。 ()。) { ((id))。 } ()。 ()。 } private void initComponents() { jPanel1 = new ()。 jLabel1 = new ()。 pw1 = new ()。 pw2 = new ()。 jLabel2 = new ()。 jLabel3 = new ()。 jButton1 = new ()。 jLabel4 = new ()。 jComboBox1 = new ()。 (密碼修改)。 (請(qǐng)輸入新密碼)。 (再次輸入新密碼)。 (確認(rèn)修改)。 (new () { public void actionPerformed( evt) { Alter(evt)。 } })。 (要修改的用戶名)。 private void Alter( evt) { // TODO add your handling code here: boolean flag=false。 String id = 。 String pw01=。 String pw02=。 id = (())。 pw01= ()。 pw02= ()。 AlterPassWord ud = new AlterPassWord()。 try { (id,pw01,pw02)。 } catch (Exception e) {} try { flag=(id, pw01,pw02)。 } catch (ClassNotFoundException ex) { (()).log(, null, ex)。 } catch (SQLException ex) { (()).log(, null, ex)。 } if(flag==false){ (this, 密碼為空或者輸入不一致, 密碼修改, )。 } else{ (this, 修改成功, 密碼修改, )。 } } // Variables declaration do not modify private jButton1。 private jComboBox1。 private jLabel1。 private jLabel2。 private jLabel3。 private jLabel4。 private jPanel1。 private pw1。 private pw2。 // End of variables declaration }這個(gè)功能代碼非常簡(jiǎn)單,但是非常實(shí)用,極大的方便了用戶。其原理是,在主界面里面添加一個(gè)方法,功能為當(dāng)前窗口消失,實(shí)例化主界面窗口。返回主界面代碼如下:private void returnmain( evt) { // TODO add your handling code here: ()。 Main showMain=new Main()。 ()。 }
點(diǎn)擊復(fù)制文檔內(nèi)容
黨政相關(guān)相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1