全文预览

Java期末课程设计_超市进销存管理系统

上传者:叶子黄了 |  格式:doc  |  页数:118 |  大小:0KB

文档介绍
yListener(){Р public void keyTyped(KeyEvent e){}Р public void keyReleased(KeyEvent e){}Р public void keyPressed(KeyEvent e){Р //String pwd = userpwd.getPassword().toString().trim();Р //String epwd = enterpassword.getPassword().toString().trim();Р if((e.getKeyChar()==KeyEvent.VK_ENTER) && ((userpwd.getPassword().toString().trim())==(enterpassword.getPassword().toString().trim()))){Р add.requestFocus();Р }Р else if((e.getKeyChar()==(KeyEvent.VK_ENTER)) && ((userpwd.getPassword().toString().trim())!=(enterpassword.getPassword().toString().trim()))){Р userpwd.setText("");Р enterpassword.setText("");Р userpwd.requestFocus();Р }Р Р }Р Р });Р ponent(enterpassword,1,3,1,1,false);Р //logoin = new javax.swing.JButton(logoon);Р add.addKeyListener(new KeyListener(){Р public void keyTyped(KeyEvent e){}

收藏

分享

举报
下载此文档