Date Date1 = jXDatePicker1.getDate();
datestartField.setText(Date1);
Hint: String
cannot be converted to date.
Date Date1 = jXDatePicker1.getDate();
datestartField.setText(Date1);
Hint: String
cannot be converted to date.
date can not assign to textfield as it is object .You can convert it in String using SimpledateFormat
Date Date1 = jXDatePicker1.getDate();
DateFormat df = new SimpleDateFormat("dd MMM yyyy hh:mm a",
Locale.US);
datestartField.setText(df.format(date1));
Hope so it will help you..