Java Swing Icon loadLoadingIcon()

Here you can find the source of loadLoadingIcon()

Description

load Loading Icon

License

Apache License

Declaration

public static ImageIcon loadLoadingIcon() 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import javax.swing.*;

public class Main {
    public static ImageIcon loadLoadingIcon() {
        return new ImageIcon(Thread.currentThread().getContextClassLoader().getResource("loading.gif"));
    }/*from w ww . ja v  a2 s  .c  o m*/
}

Related

  1. loadIcon(Class pRootClass, String strPath)
  2. loadIcon(ClassLoader classLoader, String path)
  3. loadIcon(String icon)
  4. loadIcon(String resourceName)
  5. loadIcons(String list, String path, Set ignore, ClassLoader loader)
  6. makeButtcon(Icon icon, Icon rollover, String tooltip, boolean is_toggle)
  7. mergeComponentAndIcon(JComponent component, Icon icon)
  8. mergeIcons(Icon i1, Icon i2, int offsetRechtsOben)
  9. reescala(Icon ic, int maxW, int maxH)