

In the end it was a really easy solution even if it’s not as close to the reality as i whish it would but when i thought about the speed the characters are flipping with i found out that you won’t really notice each plate flipping. Next thought was JavaFX because there you have a perspective transform and so i thought about using JavaFX to do the transformation and use the transformed images in swing…but i was not able to do so. First i skimmed through Google search results to find something and found solutions to this problem but for just a little component the solutions have been to heavy. So the design of the component and the logic behind it was one thing but the flipping of the plates was a totaly different problem.įor a realistic view i would need something like a perspective transform which is not available in Swing.

I was asking myself if it might be possible to do that in swing and on my way back to germany i started creating a flipping character component in Adobe Fireworks and Netbeans.

So if the current character the element shows is a „B“ and it should show up the character „C“ it only flips once and the next character will be the „C“ BUT if it should shup up the character „A“ it has to flip through the whole stack of characters until it reaches the „A“ because there is only one direction it could flip.
