Right-clicking a rectangle on a JFrame to remove it

Printable View