@Override
	public void run() {
		if(!loading&&image==null){
			if(OSTypeChecker.getOSType()==OSType.WIN){
				this.path = this.path.replace('/', '\\');
			}else{
				this.path = this.path.replace('\\', '/');
			}
			loading = true;
			if(loadingListener!=null){
				loadingListener.listenerEvent(new ListenerEvent(this, IMAGE_LOADING));
			}
			File img = new File(ChocolateKoala.getRoot(), this.path);
			try{
				if(img.exists()){
					this.image = new ImageIcon(img.getAbsolutePath());
				}else{
					throw new IOException("File not found");
				}
				if(loadingListener!=null){
					loadingListener.listenerEvent(new ListenerEvent(this, IMAGE_LOADED));
				}
			}catch(IOException e){
				if(loadingListener!=null){
					loadingListener.listenerEvent(new ListenerEvent(this, LOAD_FAILURE));
				}
			}
		}
	}