Assignment:
Write an application that draws a rectangle within a panel as shown
![1415_mouse click.JPG](https://secure.tutorsglobe.com/CMSImages/1415_mouse click.JPG)
When user clicks in a point left of the rectangle, it moves 10px to left. It also moves to right by 10px if user clicks on a point right to the rectangle. Clicking in any other areas such as above, inside or below the rectangle will do nothing.