this is some code taken from the net, modified a bit, that I'm trying to understand. The idea is to bounce a ball. Currently the ball bounces in a continuous line, but I can't see where I'm messing up.
I would like to put a series of blocks across the screen for a game. The idea is to do the painting to the backbuffer, then put everything to the screen. I see the blocks flash across the screen before they are gone. So I'm messing up someplace with the paint process? here's the paint part (some parts from a tutorial)
copied this from a tutorial site, but when I run it in Eclipse as an application it minimizes to the task bar, and I never see the window on the screen?