You can use repaint(x,y,w,h) to cause only a portion of the component to be updated. But afaik most java games implement some kind of offscreen painting (i.e. They render the complete scene into a bitmap) and flip this entire bitmap to the screen periodically.
You can use repaint(x,y,w,h) to cause only a portion of the component to be updated. But afaik most java games implement some kind of offscreen painting (i.e. They render the complete scene into a bitmap) and flip this entire bitmap to the screen periodically.
The problem with the standard Swing repaint mechanism is that you have no means to exactly control when the new frame is painted (repaint causes the control to be repainted 'as soon as possible'...) You might want to look at Leightweight Java Game Library Java Active Rendering for further information/ideas on java game development.
1 excatly what I was about – stacker Jan 21 '10 at 7:56.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.