code: @Override
  	public void doLayout() {
  		if (contentPane != null) {
  			setPreferredSize(contentPane.getPreferredSize());
  			contentPane.setLocation(0, 0);
  			contentPane.setSize(getWidth(), getHeight());
  		}
  		if (glassPane != null) {
  			glassPane.setLocation(0, 0);
  			glassPane.setSize(getWidth(), getHeight());
  		}
  	}
docs: {@inheritDoc}