I need a help. I am doing a reservation system and my doubt is:
I have 2 JDateChoosers
and JTextFields
and one JDateChooser
is for the start and one is for the end.
For example the user selects a date from the start JDateChooser
and after he entered the number of years in the JTextField
automatically the end JDateChooser
changes the year. The user can't edit the end JDateChooser
.
- Select the Date from
JDateChooser
"start". - Enter the number of years in the
JTextField
. - Automatically the "end"
JDateChooser
's value changes.