I'm quite new to programming in general but I need some help regarding Java using Netbeans 6.1. As it is I have a JFrame and JPanel and evrything else associated with it. I have a menu along with icons representing the logic gates, however I need to create a canvas that will allow the user to click on the 'Gates' menu option then select on any logic gate, then that logic gate will be placed on the canvas for the user to move around.

I hope this makes sense,