ImageIcon image = new ImageIcon(url);
catch (Exception e) { System.err.println(e); }           ImageIcon image = new ImageIcon(file);
   public TN5250jSplashScreen(String image_location) {      // get the URL given the image location      URL url = getClass().getResource(image_location);      if (url == null) {         throw new IllegalArgumentException("Image could not be found: " +                                    image_location);      }      // convert URL to Image icon      ImageIcon image = new ImageIcon(url);      initialize(image);   }