public void run()
  {
    Graphics g = getGraphics();
    int rColor, gColor, bColor;
    int x, y, width, height, dx, dy;

    while(true)
    {
      if(dm != null)
      {
        x = (int)((dm.width + 1) * Math.random());
        y = (int)((dm.height + 1) * Math.random());
        dx = (int)((x + 50) * Math.random());
        dy = (int)((y + 50) * Math.random());
      
        width = (int)((dm.width - 2) * Math.random()) / 2;
	height = (int)((dm.height - 2)* Math.random()) / 2;
      
        rColor = (int)(255 * Math.random());
        gColor = (int)(255 * Math.random());
        bColor = (int)(255 * Math.random());
      
        g.setColor(new Color(rColor, gColor, bColor));
        g.fillRect(x, y, width, height);
        //g.drawLine(x,y,dx,dx);
      }	
      
      try
      {
	tiktak.sleep(10);
      }
      catch(InterruptedException ie)
      {
	tiktak.stop();
      }	
    }
  }