聚合云播

排序

镖行天下之七星端砚剧情简介

"); try { ImageIO.write(image, "png", new File("d:/hello4.png")); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); }*/ BufferedImage image = new BufferedImage(WIDTH, HEIGHT, BufferedImage.TYPE_INT_RGB); Graphics g = image.getGraphics(); Random ran = new Random(); //填充背景色 g.setColor(new Color(255,255,255)); g.fillRect(0,0,WIDTH,HEIGHT); //边框 g.setColor(Color.blue); g.drawRect(1, 1, WIDTH-3, HEIGHT-3); g.setFont(new Font("黑体",Font.BOLD,18)); int len=randomString.length(); for (int i=0;i