public void resize(double scaleFactor){

		if (Debug.audio) System.out.println("AudioPlayer -> Resize called");

		if((null != player) && (realizeComplete)){
			scaledXCoord = (int) (scaledXCoord * scaleFactor);
			scaledYCoord = (int) (scaledYCoord * scaleFactor);
			scaledXDim = (int) (scaledXDim * scaleFactor);

			mediaPanel.setBounds(scaledXCoord, scaledYCoord, scaledXDim, 25);
			// Set the new dimensions, depending if controls are present or not.
			if (true == controls){
				controlComponent.setBounds(0, 0, scaledXDim, 25);
			}
		}
	}