Hi, I am writing an app that simulates a bunch of physics springs and masses, and draws them as points of different GeneralPaths on the screen.
I have two versions, one that runs in a 1024x768 Frame, and gets better than 30 FPS, using a BufferedImage double buffer. The other version uses FSEM with page flipping, and buffersize=2, same bit depth, refresh rate, screen size, and it gets less than 20FPS.
In terms of the rest of the code, the two versions are identical.
Obviously I expected my performance to go up, or stay the same, not go down… what am I doing wrong?
thanks,
-phillip