Return to Snippet

Revision: 13458
at April 24, 2009 05:20 by resurge


Initial Code
private BufferedImage loadImage(String path) {
	try {
		return ImageIO.read(this.getClass().getResource(path));
	} catch (IOException e) {
		return null;
	}
}

Initial URL

                                

Initial Description

                                

Initial Title
Load image from jar/working directory

Initial Tags
image, load

Initial Language
Java