You may have to wait for the entire panel to render before making a call on 
any panel.

One technique might be to not have a north. Call your current north center 
and put your current center in south. IIRC, you can have multiple souths, 
easts, etc. That might allow everything to layout without intervention.

On Tuesday, May 7, 2013 7:12:09 AM UTC-4, membersound wrote:
>
> Hi,
>
> I have a SplitLayoutPanel with g:center and g:north.
>
> The north element depends on the center element, and uses it in the 
> contructor after initWidget() has been called.
> Problem: I always get a NullPointerException for the center element used 
> in the north element.
>
> How can I force object creation to be first the center, and then the north 
> element? I assume the default is just the other way around?
>
> Thanks
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to