Return to Snippet

Revision: 1744
at November 10, 2006 00:08 by whitetiger


Updated Code
try
		{
			icon = ImageIO.read(getClass().getResourceAsStream("imgs/icon.png")); // La preleva dal file jar
			setIconImage(icon);
		}
		catch(IOException e)
		{
			e.printStackTrace();
		}

Revision: 1743
at November 9, 2006 23:54 by whitetiger


Initial Code
try
		{
			icon = ImageIO.read(getClass().getResourceAsStream("imgs/icon.png")); // La preleva dal file jar
			setIconImage(icon);
		}
		catch(IOException e)
		{
			e.printStackTrace();
		}

Initial URL

                                

Initial Description

                                

Initial Title
Java - imgFromJar

Initial Tags
image, file, java, images, files, directory

Initial Language
Java