content: // ===============================================================================
  // Authors: AFRL/RQQD
  // Organization: Air Force Research Laboratory, Aerospace Systems Directorate, Power and Control Division
  // 
  // Copyright (c) 2017 Government of the United State of America, as represented by
  // the Secretary of the Air Force.  No copyright is claimed in the United States under
  // Title 17, U.S. Code.  All Other Rights Reserved.
  // ===============================================================================
  
  /*
   * Created on Feb 27, 2005
   */
  package org.flexdock.plaf.resources;
  
  
  
  import org.flexdock.util.ResourceManager;
  
  /**
   * @author Christopher Butler
   */
  public class ImageResourceHandler extends ResourceHandler {
  
      public Object getResource(String url) {
          try {
              return ResourceManager.createImage(url);
          } catch(NullPointerException e) {
              System.err.println("Exception: " +e.getMessage());
              e.printStackTrace();
              return null;
          }
      }
  }
  