private void btnSaveKeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_btnSaveKeyPressed

    if (evt.getKeyCode() == 39) {
        btnClear.grabFocus();
    } else if (evt.getKeyCode() == 38) {
        jPasswordField1.grabFocus();
    }

    if (evt.getKeyChar() == evt.VK_ENTER) {
        btnSave.doClick();
    }
}//GEN-LAST:event_btnSaveKeyPressed