I want to use two JCalendar, one receive actual date with Calendar.getInstance() and other with the same date but with one month over the first. for example:
Jcalendar1 = 05/04/2014 Jcalendar2 = 05/05/2014
I dindn't get how make this, I tryed whit this way...
Calendar cal = Calendar.getInstance();
cal.set(Calendar.YEAR, Calendar.MONTH+1, Calendar.DAY_OF_MONTH);
but set the JCalendar2 with 05/03/0001 it's a error in jcalendar?
How can I make that? help please
PD: sorry for my English
You want to look up the java docs in cases like this or maybe google for examples.
Caledar set method
and so on