@Override
	public Dimension getMinimumSize(JComponent c) {
		if ((JOptionPane) c == optionPane) {
			Dimension ourMin = getMinimumOptionPaneSize();
			LayoutManager lm = c.getLayout();
			if (lm != null) {
				Dimension lmSize = lm.minimumLayoutSize(c);
				if (ourMin != null) {
					return new Dimension(Math.max(lmSize.width, ourMin.width), Math.max(lmSize.height, ourMin.height));
				}
				return lmSize;
			}
			return ourMin;
		}
		return null;
	}