This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hey all, I've spent enough time creating programs etc using just buttons and menus, and thought I'd spread my wings into the 2d graphics land. Thought for my first go I'd set up a simple "Paint" program, and ran into a little issue with the drawing canvas and JMenu's.
I've got 2 classes (which are at the bottom of the post), one to handle the frame, menus, events and whatnot, and the other class just simply extends Canvas and draws an oval. The problem is, when I click on a menu, the menu appears behind the canvas, what can I do to bring either the menu to the front, or send the canvas to the back.