public synchronized void paint(Graphics paramGraphics) {
    while ((this.queue != null) && (this.queue.size() > 0))
    {
      int i = ((Integer)this.queue.elementAt(0)).intValue();
      paramGraphics.copyArea(0, 0, 200, 250, -1, 0);
      Color localColor = getBackground();
      paramGraphics.setColor(localColor);
      paramGraphics.drawLine(199, 0, 199, 250);
      if (i < 50)
        localColor = Color.green;
      if ((i < 100) && (i >= 50))
        localColor = Color.blue;
      if ((i >= 100) && (i < 150))
        localColor = Color.yellow;
      if (i >= 150)
        localColor = Color.red;
      paramGraphics.setColor(localColor);
      paramGraphics.drawLine(199, 250 - (i + 1), 199, 250);
      this.queue.removeElementAt(0);
    }
  }