I am working on a program that needs to paint a background at the back, and some buttons in the middle. (JButtons that is). However, when the program runs the background is printed by the JFrame, however it ends up on top of the buttons. Additionally, something odd is when I move the cursor to the position of the button, it beomces visible.
I am thinking it is a paint err or bug, but dont know the solution.