You've actually created an interesting demo that shows some of the important differences that occur when starting a Swing app the right and wrong ways. You've essentially summarized why the right...
Type: Posts; User: GregBrannon
You've actually created an interesting demo that shows some of the important differences that occur when starting a Swing app the right and wrong ways. You've essentially summarized why the right...
It should become less of a mystery if you read up on Swing, the EDT, and how drawing/updating is done. Consider what the while(true) loop is doing as you study.