成功解决:Exception in thread "AWT-EventQueue-0" 目录 解决问题 解决思路 解决问题 Exception in thread "AWT-EventQueue-0" 解决思路 boolean b=FileUtils.checkLogin(username,pwd); 该段代码函数的返回值有问题,极可能是checkLogin方法出错,仔细查看FileUtils.checkLogin方法即可!