public void actionPerformed(ActionEvent e) {
		if (e.getSource() == menuItem) {
			JOptionPane.showMessageDialog(this, "小白杨" + "\n", "关于",
					JOptionPane.INFORMATION_MESSAGE);

		} else {
			String strpasswd = new String(passwdField.getPassword());
			String str2 = new String(repeatField.getPassword());
			// usr = new String(usrField.getText());
			if (strpasswd.length() < 6) {
				JOptionPane.showMessageDialog(this, "密码长度不能少于六位");
				return;
			}else if(infoField.getText().equals("")||infoField.getText()==null){
				JOptionPane.showMessageDialog(this, "密码找回验证信息不能为空，这将是您的密码找回唯一凭证");
			}
			
			if (!strpasswd.equals(str2)) {
				JOptionPane.showMessageDialog(this, "两次输入密码不同", "警告",
						JOptionPane.QUESTION_MESSAGE);
				passwdField.setText("");
				repeatField.setText("");
			} else {
				strpasswd = SHAPasswd.encry(strpasswd);
//				props.setProperty(usr, strpasswd);
				PreferenceUtil.setPasswd(strpasswd);
				PreferenceUtil.setFirstUse(false);
				PreferenceUtil.setPassFindBack(infoField.getText());
				JOptionPane.showMessageDialog(this, "密码设置成功，请牢记密码和密码找回验证信息！");
				new Login().setTitle("验证");
				this.dispose();
			}

		}
	}