Steady Framerate: Timer vs. Thread
Hey all! Alright, well i belive that the title of this describes what i'm basically looking for. Anyway, i'm writing a simple skateboarding game, and i need a steady framerate. I've tried multiple ways of keeping a steady framerate... all of which failed (obviously) which is why i'm here! ^.^ So yeah, If i already have a thread in my main class would you suggest me making an inner-class that fires a refresh() then waiting a specified number of milliseconds. Or do suggest having a timer that fires a repaint() every certain number of milliseconds. Or maybe there's some sort of custom way to adjust the framerate on different computers, making some sort of custom timer. I appreciate all your inputs! Thanks!

