Buggy code:
public class MyAnalysesPanel extends ContentPanel { private final String DELETE_ITEM_ID = "idDeleteBtn" ; private final String VIEW_OUTPUT_ITEM_ID = "idViewBtn" ; private static final String VIEW_PARAMETER_ITEM_ID = "idViewParameter" ; private MyAnalysesGrid analysisGrid ; private final HashMap < String , Button > analyses_buttons ; private final HashMap < String , Menu > menus ; private ToolBar topComponentMenu ; private ArrayList < HandlerRegistration > handlers ; private String idWorkspace ; private final String idCurrentSelection ; private final AnalysisServiceFacade facadeAnalysisService ; protected static CheckBoxSelectionModel < AnalysisExecution > sm ; private TextField < String > filter ; public static enum EXECUTION_STATUS { UNKNOWN ( CONSTANT . unknown ( ) ) , SUBMITTED ( CONSTANT . submitted ( ) ) , RUNNING ( CONSTANT . running ( ) ) , COMPLETED ( CONSTANT . completed ( ) ) , HELD ( CONSTANT . held ( ) ) , FAILED ( CONSTANT . failed ( ) ) , SUBMISSION_ERR ( CONSTANT . subErr ( ) ) , IDLE ( CONSTANT . idle ( ) ) , REMOVED ( CONSTANT . removed ( ) ) ; private String displayText ; private EXECUTION_STATUS ( String displaytext ) { } public String getTypeString ( ) { } public static MyAnalysesPanel . EXECUTION_STATUS fromTypeString ( String typeString ) { } @ Override public String toString ( ) { } } public MyAnalysesPanel ( final String caption , final String idCurrentSelection ) { } private void initWorkspaceId ( ) { } private void init ( String caption ) { } private void registerHandlers ( ) { } private void buildTopComponent ( ) { } private void setButtonState ( ) { } private Button buildDeleteButton ( ) { } private Button buildViewOpButton ( ) { } private Button buildViewParamsButton ( ) { } private void buildFilterField ( ) { } private class StoreFilterImpl implements StoreFilter < AnalysisExecution > { @ Override public boolean select ( Store < AnalysisExecution > store , AnalysisExecution parent , AnalysisExecution item , String property ) { } } @ Override protected void onRender ( Element parent , int index ) { } protected static void buildCheckBoxSelectionModel ( final HashMap < String , Menu > floating_menus ) { } @ SuppressWarnings ( { "rawtypes" } ) private void addGridEventListeners ( ) { } private void doDelete ( ) { } private void enableViewButtonByStatus ( ) { } private void enableDeleteButtonByStatus ( ) { } private class DeleteSelectionListener extends SelectionListener < ButtonEvent > { @ Override public void componentSelected ( ButtonEvent ce ) { doDelete ( ) ; } } private class ViewOutputSelectionListener extends SelectionListener < ButtonEvent > { @ Override public void componentSelected ( ButtonEvent ce ) { retrieveOutputFolder ( analysisGrid . getSelectionModel ( ) . getSelectedItem ( ) . getId ( ) ) ; } } private class ViewParamSelectionListener extends SelectionListener < ButtonEvent > { @ Override public void componentSelected ( ButtonEvent ce ) { AnalysisExecution ae = analysisGrid . getSelectionModel ( ) . getSelectedItem ( ) ; Dialog d = new Dialog ( ) ; d . setResizable ( false ) ; d . setHeading ( DISPLAY . viewParameters ( ae . getName ( ) ) ) ; d . add ( new AnalysisParameterViewerPanel ( ae . getId ( ) ) ) ; <START_BUG> d . setSize ( 520 , 320 ) ; <END_BUG> d . setButtons ( OK ) ; d . setHideOnButtonClick ( true ) ; d . show ( ) ; } } private void retrieveOutputFolder ( String id ) { } public void cleanup ( ) { } public void updateSelection ( String idCurrentSelection ) { } private final class DeleteSeviceCallback implements AsyncCallback < String > { private final List < AnalysisExecution > execs ; private final List < AnalysisExecution > items_to_delete ; private DeleteSeviceCallback ( List < AnalysisExecution > items_to_delete , List < AnalysisExecution > execs ) { } @ Override public void onSuccess ( String arg0 ) { } @ Override public void onFailure ( Throwable caught ) { } private void updateGrid ( List < AnalysisExecution > execs ) { } } private final class DeleteMessageBoxListener implements Listener < MessageBoxEvent > { private final List < AnalysisExecution > execs ; private final List < AnalysisExecution > items_to_delete ; private DeleteMessageBoxListener ( List < AnalysisExecution > execs ) { } @ Override public void handleEvent ( MessageBoxEvent ce ) { } private String buildDeleteRequestBody ( List < AnalysisExecution > execs ) { } } }

Fix:
d . setSize ( 520 , 375 ) ;