@Override
	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		}
		if (obj == null) {
			return false;
		}

		if (obj instanceof Image) {
			if (image.equals((Image) obj)) {
				return true;
			}
		}

		if (!(obj instanceof ImagePanel)) {
			return false;
		}

		ImagePanel other = (ImagePanel) obj;
		return image.equals(other.image);
	}