Package entagged.tageditor.tools.gui

Examples of entagged.tageditor.tools.gui.MultiIcon


   * @param fileType
   *            The file type which will be handled.
   */
  public void addFileTypeIcons(String iconKey, String fileType, ImageIcon errorIcon) {
    ImageIcon defaultIcon = ResourcesRepository.getImageIcon(fileType + "-icon.png");
    MultiIcon multi = new MultiIcon();
    multi.addIcon(defaultIcon, MultiIcon.CENTER);
    multi.addIcon(errorIcon, MultiIcon.CENTER);
    icons.put(iconKey, defaultIcon);
    icons.put(iconKey + "-error", multi);
  }
View Full Code Here

TOP

Related Classes of entagged.tageditor.tools.gui.MultiIcon

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.