Java Swing UIManager getClassLoaderForResources()

Here you can find the source of getClassLoaderForResources()

Description

get Class Loader For Resources

License

Open Source License

Declaration

public static ClassLoader getClassLoaderForResources() 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import javax.swing.UIManager;

public class Main {
    public static ClassLoader getClassLoaderForResources() {
        ClassLoader cl = (ClassLoader) UIManager.get("ClassLoader");
        if (cl == null)
            cl = Thread.currentThread().getContextClassLoader();
        return cl;
    }//from   w ww  .j a  v  a2  s.c o m
}

Related

  1. disablePaintSliderValue()
  2. drawVistaBackground(Graphics g, Component b, String prefix)
  3. fixGtkPopupStyle()
  4. fixHtmlDisplay(JComponent component)
  5. getAnimationSpeed()
  6. getClassLoaderForResources()
  7. getDark()
  8. getDefaultActiveBackgroundColour()
  9. getDefaultAttributeSet()