eu.beesoft.gaia.swing
Class Resources

java.lang.Object
  extended by eu.beesoft.gaia.swing.Resources

public abstract class Resources
extends java.lang.Object

Helper class to obtain some resources. Currently it works for icons only.


Method Summary
static javax.swing.Icon getIcon(java.lang.String name)
          Returns an icon from given resource name or null if not found.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getIcon

public static javax.swing.Icon getIcon(java.lang.String name)
Returns an icon from given resource name or null if not found. This method uses internally a cache for speed purposes.

Parameters:
name - - the name of the icon resource
Returns:
Found instance of javax.swing.Icon or null, if not found.