private void btnResetActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnResetActionPerformed
        // TODO add your handling code here:
        lblUHint.setVisible(false);
        if(ThisUser.UserType!=User.U_Types.ADMIN)
        {
            tbxError.setText("Permission denied.");
            return ;
        }
        String id = tbxUUserID.getText().trim().replace("'", "");
        if (id.equals(""))
        {
            tbxError.setText("Empty user ID.");
            return ;
        }
        String pwd = tbxUPwd.getText().trim().replace("'", "");

        String msg = "You are about to change the password of user '"+id+"' \r\nto '"+pwd+"'. \r\nDo you wish to continue?";
        int x = JOptionPane.showConfirmDialog(this, msg, "Do you wish to continue?",JOptionPane.YES_NO_OPTION);
        if (x!=0)
            return;
        
        User_Controller UC = new User_Controller("localhost", DBName, DBAccount, DBPwd);
        
        boolean flag = UC.ChangePassword(id, pwd);
        if(!flag)
        {
            tbxError.setText(UC.err);
            return;
        }
        //ReturnedUsers = new ArrayList();
        //ShowUsers();
        tbxError.setText("Password for user '" + id +"' is changed successfully.");
        tbxUPwd.setText("");
    }