You did not add any println statements in there. Add these, recompile, and run and you should see these lines being printed to the console. These will prove one way or another whether paintComponent...
Type: Posts; User: copeg
You did not add any println statements in there. Add these, recompile, and run and you should see these lines being printed to the console. These will prove one way or another whether paintComponent...
Please surround your code with the tags, it makes it much easier to read and help troubleshoot.
Some tips:
1) f.show is deprecated, you should use JFrame.setVisible(boolean b)
2)...