Finished shape drawing code
Filled the switch block with code that draws the shapes. User can now choose a shape from the comboBox and draw it on the image with a mouse click. The shape also remain on the image when the image is saved. All is well in the world.
added some error prevention
added a label to the dialog