Class IconUtils

java.lang.Object
repast.simphony.ui.widget.IconUtils

public class IconUtils extends Object
  • Constructor Details

    • IconUtils

      public IconUtils()
  • Method Details

    • loadIcon

      public static Icon loadIcon(String iconFile)
      Attemps to load an icon as resource and if that fails then directly from the "icons" directory.
      Parameters:
      iconFile - the icon file name
      Returns:
      the loaded icon