> And it doesn't give me any problems.

extending DatePicker isn't the problem. Extending the MonthSelector is
the problem.
Which extends the DatePickercomponent which is package protect. When I
change this to public, it works fine, so it must be that.



On Sep 25, 3:39 pm, "Isaac Truett" <[EMAIL PROTECTED]> wrote:
> Ed,
>
> Extending MonthSelector definitely is possible. I have this:
>
> public class MyDatePicker extends DatePIcker {
>   public MyDatePIcker() {
>     super(new MyMonthSelector(), new SimpleCalendarView(), new 
> CalendarModel());
>   }
>
>   static class MyMonthSelector extends MonthSelector<MyDatePIcker> {
>     ...
>   }
>
> }
>
> And it doesn't give me any problems.
>
> Would it be possible for you to post your modified DatePickerDemo to
> show us where that exception is coming from?
>
> Thanks,
> Isaac
>
> On Thu, Sep 25, 2008 at 9:22 AM, Emily Crutcher <[EMAIL PROTECTED]> wrote:
>
> >> The same error occurs when I extend the MonthSelector. Please verify
> >> this?
>
> > I will see if I can get it to repro, thanks!
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to