Loading

kine's blog

Submitted by: 

Hello Sir.

I have difficulty writting out the code to reset user password in the database after login into the application.

Here is my code

char[] oldPass = jPasswordField1.getPassword();
String strOldPass = new String(oldPass);

char[] newPass = jPasswordField2.getPassword();
String strNewPass = new String(newPass);