I'm new to java and am having a question about converting String to Date. I've spent hours researching the internet to see if I could find any solution and I came across very few solutions but when I was going to put these solutions to run, my application always generated error!
private boolean salvarPessoa(){
pessoa.setNome(this.txtNome.getText());
pessoa.setBairro(this.txtBairro.getText());
pessoa.setEndereco(this.txtEndereco.getText());
pessoa.setCidade(this.txtCidade.getText());
pessoa.setUf(this.txtUF.getText());
pessoa.setCPF(this.txtCPF.getText());
pessoa.setTelefone(this.txtTelefone.getText());
pessoa.setdNascimento(this.txtdNascimento.getText());// <- O erro esta aqui!