private void newPassword() {
		JPasswordField cPass = new JPasswordField();
		JPasswordField nPass = new JPasswordField();
		JPasswordField qPass = new JPasswordField();
		
		JOptionPane.showConfirmDialog(null, cPass, "Enter current password", JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
		JOptionPane.showConfirmDialog(null, nPass, "Enter new password", JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
		JOptionPane.showConfirmDialog(null, qPass, "Enter new password again", JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
		
		if(Arrays.equals(nPass.getPassword(), qPass.getPassword())) {
			try {
				if(opr.updateOperator(cPass.getPassword(), nPass.getPassword())) {
					textArea.append("[" + getDate() + "] Password has successfully been changed.\n");
				}
			}
			catch (DALException e) {
				e.printStackTrace();
			}
		}
	}