I need to get from the user date and time. I want that will open a calendar and the user will choose the date & time (like in Microsoft Office).
Is this possible? How can you do it?
example:
I need to get from the user date and time. I want that will open a calendar and the user will choose the date & time (like in Microsoft Office).
Is this possible? How can you do it?
example:
You can use JDatePicker from http://jdatepicker.org/.
It looks like
There are some code snippets How to use JDatePicker to display calendar component, for example to create the picker shown above:
UtilDateModel model = new UtilDateModel();
JDatePanelImpl datePanel = new JDatePanelImpl(model);
JDatePickerImpl datePicker = new JDatePickerImpl(datePanel);
frame.add(datePicker);