Hello Rob,
well as I said, I'm learning Java2D, so that is one half of the answer to your question, and the other half is that I read many resources,
and couple of books about Java Game programming like,
Java 2 Game Programming by Thomas Petchel and
Beginning Java SE 6 Game Programming, Third Edition by Jonathan S. Harbour,
and in both of these books, they are using Thread not javax.swing.Timer as well they are overriding paint() method.
Now, I'm not here to argue or judge who is correct and who is not, I just want to learn correct Java Game Development(not applets but fullscreen).
So I should use javax.swing.Timer even though I have only JPanel from Swing package, the rest of graphics is awt?
Then is this response (
StackOverflow) to the question incorrect?
And about the paint() method. This article
Oracle
says to use paint with awt and paintComponent with Swing. And I'm using awt to draw the shapes.