吾又遇到问题了,请帮吾解决一下?

if(obj == btLogin){
      
      if(tfName.getText() == null  || tfPw.getText() == null){
       JOptionPane.showMessageDialog(this,"用户名或密码不能为空!");
      }
      if(tfName.getText() == "wangxiaoju" && tfPw.getText() == "123"){
       new clMain();
       this.dispose();
         }
      else {
       JOptionPane.showMessageDialog(this,"不正确的用户名或密码!");
      }
     } 
这个为什么执行不起呢???? 
问题解决了!!

posted on 2008-01-04 14:17 水糊了 阅读(123) 评论(0)  编辑  收藏


只有注册用户登录后才能发表评论。


网站导航:
 
<2008年1月>
303112345
6789101112
13141516171819
20212223242526
272829303112
3456789

导航

统计

常用链接

留言簿(1)

随笔档案

搜索

最新评论

阅读排行榜

评论排行榜