Can someone help me. I want JDateChooser - "in my case dateChooserBrithIDCard" fill with date based on the selected item from a JComboBox which is connected to a SQLite database (the name of database employee).

Can anyone advise me the right code how to make this thing work?

comboBoxIDNumberIDCard = new JComboBox();
comboBoxIDNumberIDCard.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
try {
String sql ="select * from employee where EmployeeID=?";
PreparedStatement pst = conn.prepareStatement(sql);
pst.setString(1, (String)comboBoxIDNumberIDCard.getSelectedItem());
ResultSet rs=pst.executeQuery();
while(rs.next()){
txtnameIDCard.setText(rs.getString("Firstname"));//working
txtIDSurname.setText(rs.getString("Surname"));//working
dateChooserBrithIDCard.setDate(rs.getDate("DateOfB rith"));//This one is not working, not showing any date of Brith From Database SQLite
}
}catch (Exception e1) {
e1.printStackTrace();
}
}
});