Java component for rendering print preview with zoom function