Update a BufferedImage in a JFrame?

No you should NOT override update(). You would do that with AWT but not with Swing.

I overrode update since the docs are saying something like "If this component is not a lightweight component, the AWT calls the update method in response to a call to repaint". I'm not exactly sure if my component is lightweight or not. No you should NOT override update().

You would do that with AWT but not with Swing. If you update the BufferedImage then all you need to do is invoke repaint() on your instance of the MyBuffin class. If you need more help than post your SSCCE that demonstrates the problem.

Issue closed. I copy-pasted the relevant bits and pieces of my code to make the sample. Then I tried to do some error-hunting on it before posting it online.

But alas, I forgot to un-override update(). – skytreader Aug 15 at 5:24.

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.

Related Questions