public static Image getImageFromResources ( Class < ? > clazz , String name ) throws IOException { return getImageFromResources ( clazz , name , Toolkit . getDefaultToolkit ( ) ) ; }
Loads an image from a resource using the default toolkit .