So, so far I have this:
static SimpleDateFormat df = new SimpleDateFormat("dd MM yyyy");
jDateChooser8 = new com.toedter.calendar.JDateChooser();
when I parse the right date let's say this one:
jDateChooser8.setDate(df.parse("24 07 1987"));
it's ok, but when I try to parse ""
(empty string)
jDateChooser8.setDate(df.parse(""));
I get an exeption:
first line of error is:
java.text.ParseException: Unparseable date: ""
all I want to do is set date to ""
, how to do it?