|  
 
 
  235.            g.drawLine(x, y, x - xl, y - yl);   236.   237.        }   238.   239.        for (int i = 0; i < 4; i++) {   240.   241.            int itmp = 0;   242.   243.            if (random.nextInt(2) == 1) {   244.   245.                itmp = random.nextInt(26) + 65;   246.   247.                char ctmp = (char) itmp;   248.   249.                sRand += String.valueOf(ctmp);   250.   251.                g.setColor(new Color(20 + random.nextInt(110), 20 + random   252.   253.                .nextInt(110), 20 + random.nextInt(110)));   254.   255.                g.drawString(String.valueOf(ctmp), 15 * i + 10, 16);   256.   257.            } else if (random.nextInt(3) == 1) {   258.   259.                itmp = random.nextInt(26) + 97;   260.   261.                char ctmp = (char) itmp;   262.   263.                sRand += String.valueOf(ctmp);   264.   265.                g.setColor(new Color(20 + random.nextInt(110), 20 + random   266.   267.                .nextInt(110), 20 + random.nextInt(110)));   268.   269.                g.drawString(String.valueOf(ctmp), 15 * i + 10, 16);   270.   271.            } else {   272.   273.                itmp = random.nextInt(9);   274.   275.                sRand += String.valueOf(itmp);   276. << 上一页  [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] 下一页  
 |