it's now working well
import java.awt.*;
import java.awt.event.*;
import java.security.*;
import java.math.*;
import javax.swing.*;
Type: Posts; User: A4Andy
it's now working well
import java.awt.*;
import java.awt.event.*;
import java.security.*;
import java.math.*;
import javax.swing.*;
what do you mean I think only once.
Here is my whole db class
import java.awt.*;
import java.awt.event.*;
import java.security.*;
import java.math.*;
import javax.swing.*;
import javax.swing.text.AttributeSet;
public class HandlerClass1 implements ActionListener {
public void actionPerformed(ActionEvent event)
{
100 char[] pass = pfPword.getPassword();
101 String s= new String(pass);
102...
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at db$HandlerClass1.actionPerformed(db.java:100)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)...
too bad I don't know how to get the value of JPasswordField using JButton as the trigger. I already knew converting from String to md5 but not from JPasswordField to md5.
I tried this code but it...
I want to convert the input in a jpasswordfield to md5 but the problem is I don't know how