Hi, I modified the KitchenSink demo to print the selected value in the
Calendar component,
component = (Component)wtkxSerializer.readObject(this, "calendars.wtkx");
org.apache.pivot.wtk.Calendar cal =
(org.apache.pivot.wtk.Calendar)
wtkxSerializer.get("cal");
cal.getCalendarSelectionListeners().add(new
CalendarSelectionListener() {
public void
selectedDateChanged(org.apache.pivot.wtk.Calendar calendar, CalendarDate
previousSelectedDate) {
System.out.println("day: " +
calendar.getSelectedDate().getDay());
}
});
The calendar returns the value of selected day - 1 (if 25 is selected, it
will return 24).
I also tried building the latest source code, but still yields the same
result
--
thirdy