void layoutDefault(int size,String startingStepId){
  super.layoutDefault(cardPanel,size,previousButton,nextButton,finishButton,cancelButton);
  final Dimension nextSize=new Dimension(nextButton.getWidth(),nextButton.getHeight());
  nextButton.setMinimumSize(nextSize);
  nextButton.setPreferredSize(nextSize);
  final Dimension previousSize=new Dimension(previousButton.getWidth(),previousButton.getHeight());
  previousButton.setMinimumSize(previousSize);
  previousButton.setPreferredSize(previousSize);
  showStep(startingStepId,WizardDirection.STARTING);
}

void layoutDefault ( int size , String startingStepId ) { super . layoutDefault ( cardPanel , size , previousButton , nextButton , finishButton , cancelButton ) ; final Dimension nextSize = new Dimension ( nextButton . getWidth ( ) , nextButton . getHeight ( ) ) ; nextButton . setMinimumSize ( nextSize ) ; nextButton . setPreferredSize ( nextSize ) ; final Dimension previousSize = new Dimension ( previousButton . getWidth ( ) , previousButton . getHeight ( ) ) ; previousButton . setMinimumSize ( previousSize ) ; previousButton . setPreferredSize ( previousSize ) ; showStep ( startingStepId , WizardDirection . STARTING ) ; }
layouts the dialog by adding the dialog main content and updating the current shown step . should only be called once after the dialog instance has been created .
