public Icon getIcon() {
    if (myIcon == null) {
      if (myIconPath == null) {
        return myPaletteItem == null ? null : myPaletteItem.getIcon();
      }
      myIcon = IconLoader.findIcon(myIconPath, myModel);
    }
    return myIcon;
  }
public Icon getIcon()