I try to insert information from a Java application to a database in mySQL. It only works if I remove the password part. It gives me a warning when I put in the values that say (regarding the passwordField.getPassword()): "Must explicitly convert the char[] to a 
 String" <- What does this mean? 
See code below
JButton btnSkapaInlogg = new JButton("Skapa inlogg");
btnSkapaInlogg.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent e) {
        try{
            theQuery("insert into kund " +
                "(user_name, password, first_name, last_name, mobil, email, adress, ort) " + 
                "values('"+textField.getText()+"','"+passwordField.getPassword()+"',
                '"+textField_3.getText()+"','"+textField_4.getText()+"','"+textField_5.getText()+"',
                '"+textField_6.getText()+"','"+textField_7.getText()+"','"+textField_8.getText()+"',
                '"+textField_9.getText()+"')");
        }
          catch(Exception ex){}
        }
});
 
     
     
     
    