@Override
    protected void onAttach() {

        super.onAttach();
        if (m_onAttachCommand != null) {
            m_onAttachCommand.execute();
            m_onAttachCommand = null;
        }
        Scheduler.get().scheduleDeferred(new ScheduledCommand() {

            public void execute() {

                updateSizes();
            }
        });
    }
@ Override protected void onAttach ( ) { super . onAttach ( ) ; if ( m_onAttachCommand != null ) { m_onAttachCommand . execute ( ) ; m_onAttachCommand = null ; } Scheduler . get ( ) . scheduleDeferred ( new ScheduledCommand ( ) { public void execute ( ) { updateSizes ( ) ; } } ) ; }
@see com.google.gwt.user.client.ui.Composite#onAttach()