I have a JFrame with a JPanel, which has a custom JComponent in it. Every few seconds or so, I call repaint() on the JComponent using the animation loop method described here:
I know that my paintComponent() method is being called. All it's doing is calling g.fillRect(), but i don't see any changes on the screen. Why might that be?
Thanks much.
Liam Morley
lmorley@wpi.edu
"light the deep, and bring silence to the world.
light the world, and bring depth to the silence."
I know that my paintComponent() method is being called. All it's doing is calling g.fillRect(), but i don't see any changes on the screen. Why might that be?
Thanks much.
Liam Morley
lmorley@wpi.edu
"light the deep, and bring silence to the world.
light the world, and bring depth to the silence."