The situation is: I want to use two date values obtained from two jDateChoosers and calculate the number of days between two selected days. The question is: what should I do that after choosing both dates a calculated value would appear in a label (or Text Field, which one is better?) without any additional submission (in other words, without clicking on any buttons ect.)?
Asked
Active
Viewed 75 times
1 Answers
1
Have an actionListener checking for if both dates have been input when the jDateChoosers close and then have a function such as update() to perform the calculations and update your label

Scain40
- 21
- 3
-
Thanks a lot for the answer! – Oct 14 '18 at 18:52