for(int i = password.length() - 1; i = 0; --i) {
uncodedpassword.append(password.charAt(i));
}
if (key.equals(uncodedpassword.toString())) {
JOptionPane.showMessageDialog(this.val$mainFrame, "Valid Key!");
} else {
JOptionPane.showMessageDialog(this.val$mainFrame, "Invalid Key!");
}
answer = reverse of TSRQ-PONM-LKJI-HGFE-DCBA
|
==> |