setMinimumSize(new Dimension(PConstants.BROWSER_SIDE,HEIGHT)); setPreferredSize(new Dimension(PConstants.BROWSER_SIDE,HEIGHT)); setMaximumSize(new Dimension(MAXWIDTH,MAXHEIGHT));
setPreferredSize(new Dimension(PConstants.BROWSER_SIDE, 30));
	public ProjectSelectionCanvas(MainWindow panel) {		super();		this.panel = panel;		layer = getLayer();		setMinimumSize(new Dimension(PConstants.BROWSER_SIDE,HEIGHT));		setPreferredSize(new Dimension(PConstants.BROWSER_SIDE,HEIGHT));		setMaximumSize(new Dimension(MAXWIDTH,MAXHEIGHT));		removeInputEventListener(getPanEventHandler());		removeInputEventListener(getZoomEventHandler());	}