Here you can find the source of randomIcon()
public static String randomIcon()
//package com.java2s; //License from project: Open Source License public class Main { public static String randomIcon() { int min = 1, max = 24; return String.format("https://coding.net/static/project_icon/scenery-%d.png", min + (int) (Math.random() * ((max - min) + 1))); }/* ww w . j av a2 s. com*/ }