jdatechooserから日付を取得しようとしていて、それを文字列に変換しようとしていますが、これをしようとするとうまくいきthis.fechaTxt.setText("");
ません
String fecha1 = this.fechaTxt.getDate().toString();
Viaje viaje = new Viaje();
viaje.setFecha(fecha1);
try {
this.ingresarViaje(viaje);
this.fechaTxt.setText("");
JOptionPane.showMessageDialog(null, "Viaje Ingresado");
} catch (Exception e) {
System.out.println("ERROR" + e.getMessage());
}