code: public static ImageIcon getScaledIcon(URL url) {
  		if (url == null) {
  			return null;
  		}
  		return getScaledIcon(new ImageIcon(url));
  	}
docs: Gets a correctly scaled icon from the specified url
  @param url
  @return
  @since 2.6.0