You will need to map the existing page to an off-screen buffer, and then convert the buffer to display the page flip.
So,
- create a buffer off screen with screen size.
- Get the graphic buffer context and call super.componentPaint with this context
- Now you have made your page βflatβ in your screenless buffer.
- Using the on-screen context,
, , . "pageIsTurning" "percentageTurned", , . percentTurned, paint, , , reset componentPaint super.componentPaint.