Lines Matching refs:random
450 Random random = new Random(1);
458 cWidth = random.nextInt(width/2);
459 cHeight = random.nextInt(height/2);
461 setBounds(random.nextInt(width - cWidth),
462 random.nextInt(height - cHeight),
475 replacement_index = random.nextInt(COMPONENTS);
477 cWidth = random.nextInt(width/2);
478 cHeight = random.nextInt(height/2);
481 setBounds(random.nextInt(width - cWidth),
482 random.nextInt(height - cHeight),
498 Random random = new Random(2);
503 testRect = new Rectangle(random.nextInt(rqt.bounds.width - testWidth),
504 random.nextInt(rqt.bounds.height - testHeight),