Alright, so I'm not too terribly fluent in Java.
I've been working on a small game to help me pick up the language, and I've been (for some time now) trying to figure out how to implement a title screen. I've tackled numerous issues with it this far and, well, feel proud of myself for that. xD But I can't seem to figure out this small thing.
I'm trying to place buttons onto my canvas. However, when I launch the game and it goes to the title screen, the buttons are no where to be seen. Changing the JFrame to allow re-sizing reveals that the buttons are being displayed under everything else on my canvas. Which, I'm going to assume, has something, if not everything, to do with my render methods.
The title screen is composed of two images being repeated painted to the canvas via a render method. So those images are being repainted over and over again, which means, while I have the sequence of the code correct, the repainting is simply covering up the buttons. P
So my question is this; How might I go about displaying the buttons ABOVE those rendering images? Or can I at all? And, if I can't, how can I paint the images statically so that they don't keep repainting?
If this has already been asked, then I apologize, and I thank you for taking the time to read this.