0

http://i41.tinypic.com/344bo77.png

From Day Cannot be Today's Date or Later. To Date cannot be maximum than today's date & From Date.

I have to set the code in such a way that after selecting a particular date on From date, To date will be enabled.

Sample code will be helpful.

trashgod
  • 203,806
  • 29
  • 246
  • 1,045
special
  • 621
  • 3
  • 11
  • 20

1 Answers1

0

I would recommend you use Joda Time for your date calculations. With regards to enabling and disabling your date values, Swing components have setEnabled() methods which you can use to either disable or enable the component.

That being said, you did not specify what have you tried... and are requesting code... I doubt those are two steps in the right direction for using this site...

npinti
  • 51,780
  • 5
  • 72
  • 96