Is it possible to get not only Date, but Date and Time from a JXDatePicker component?
I have configured the widget to show this format:
SimpleDateFormat dateFormatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
JXDatePicker startTime = new JXDatePicker(System.currentTimeMillis); // This gets today's Date, but time appears as 00:00:00
the JXDatePicker is only for extracting dates. It won't return any time. That explains why you are getting 00:00:00. You will have to find another one. maybe this is the one you are looking for: