Thanks for deleting your question. This is inconsiderate to those who put time in to help you, not to mention future users of this forum who may have the same problem.
Instead wouldn't it have...
Type: Posts; User: curmudgeon
Thanks for deleting your question. This is inconsiderate to those who put time in to help you, not to mention future users of this forum who may have the same problem.
Instead wouldn't it have...
You're doing a couple of things wrong here. Let's dive in:
Don't draw directly in a JFrame. The drawing instead should be inside of the paintComponent(...) method of a JPanel or other class...