title: Remove fillRect rectangles
body: <p>I am trying to make a simple game that will have squares of random size and color appear at a random location on the screen and you have to click on them. The more you click the higher your score.</p>
  
  <p>I have everything working except, I have no idea how to make it so that when you click on a square it disappears.</p>
  
  <p>Here is my rectangle code</p>
  
  <pre><code>g.fillRect(Cube.cubePosX, Cube.cubePosY, Cube.cubeSize, Cube.cubeSize);
  </code></pre>
  
  <p>The position, size, and color are already predetermined and randomly selected in another class file.</p>