private void loadImages(){
		try{
			File directory = new File(ITEM_IMAGE_PATH);

			File[] fileList = directory.listFiles();
			
			for(File file : fileList){
				itemImageMap.put(file.getName().split("\\.")[0], new ImageIcon(file.getAbsolutePath()));
			}
		}catch(Exception e){
			CodeSource src = this.getClass().getProtectionDomain().getCodeSource();
			if( src != null ) {
			    URL jar = src.getLocation();
			    ZipInputStream zip;
				try {
					zip = new ZipInputStream( jar.openStream());
					ZipEntry ze = null;
					while((ze = zip.getNextEntry()) != null)
					{
						if(ze.getName().contains("resources/images/items/"))
						{
							String sub = ze.getName().substring("resources/images/items/".length());
							if(sub.length() > 3)
							{
								String name = sub.substring(0,sub.length()-4);
								ImageIcon image = new ImageIcon(getClass().getResource("/" + ze.getName()));
								itemImageMap.put(name, image);
							}
						}
					}
				} catch (IOException ex) {
					ex.printStackTrace();
				}
			}
		}
	}