Set program to 60FPS, but runs at 120FPS?
问题 I have a problem that puzzles me. I have this small application that creates a JFrame that should update the graphics at the desired fps. But when I start the application, it runs at 120 fps instead of 60 fps. If I set fps = 30, it runs at 60fps, if fps =60, it runs at 120fps, and so on (to measure the fps I use FRAPS). Here's the SSCCE: import java.awt.*; import javax.swing.*; public class Controller { public static TheFrame window; public static long time = 0; public static boolean funciona