title: Hide/Show an image drawn with Graphics
body: <p>I have multiple images drawn with Graphics. How can I make them appear and disappear using a JCheckBox ? </p>
  
  <pre><code>private void drawImages(int index) {
     Graphics g = mNew.getGraphics();
     int x = index % this.width;
     int y = index / this.width;
     g.drawImage(imageLabelPixel.get(idImage-1), x, y, 100, 100, null);
  }
  </code></pre>