@Override
	public void componentResized(ComponentEvent e) {
		Component comp = e.getComponent();
		
		int width = comp.getWidth();
		int height = comp.getHeight();
		
		boolean resize = false;
		
		if (width < minWidth) {
			resize = true;
			width = minWidth;
		}
		if (height < minHeight) {
			resize = true;
			height = minHeight;
		}
		if (resize) {
			comp.setSize(width, height);
		}
	}