I wanted to program a basic game, so I wrote the game into a class that extended canvas and put rendering into paint(). The game renders and plays just fine, but I have it inserted as part of a gridbaglayout in a swing jframe. The menus paint underneath the canvas, instead of over. That's a problem!
Is there a fix to this? Or perhaps an alternative solution to using a canvas?
Meh, I turned it into a jcomponent and all is well.