public void display()
	{
		if(Debug.imagePlayer) System.out.println("Imageplayer display called");

		//Check if the host size has changed since instantiation/hiding
		Boolean hostChanged = false;

		if(inScrollPane)
			hostChanged = (hostSize.width != scrollPanel.getWidth() ||
							hostSize.height != scrollPanel.getHeight());
		else
			hostChanged = (hostSize.width != slidePanel.getWidth() ||
					hostSize.height != slidePanel.getHeight());

		//Re-adapt to host dimensions if they have changed
		//If entering zoom mode, adaptation has already been performed
		if(hostChanged && (false == isZoomed))
			adaptToHost();

		//Set it to active
		//This flag is checked by SlideRenderer in resizeAll - not resized if
		//inactive
		setIsActive(true);

		//Enable image displaying and make visible
		setShowImage(true);
		imagePanel.setVisible(true);

		//TODO: remove this test code
		if(-2 == imageParameters.getOnClick())
			System.out.println("Stopped at zoomable image");

		//Enable mouse click detection if XML 'onclick' value specifies it
		//Values -2, 0 and >0 all indicate functionality, hence create listener
		//for all values other than -1
		if(imageParameters.getOnClick() != -1)
			updateMouseDetection(true,false);
	}