private int getMaxSizeY(final JComponent[] components) {
		int max = 0;

		for (final JComponent component : components) {

			final Dimension dimension = component.getMaximumSize();
			if (dimension != null) {
				if ((dimension.height > max)
						&& (dimension.height != Integer.MAX_VALUE)) {
					max = dimension.height;
				}
			}
		}

		return max;
	}