@Override
	public void paintComponent(Graphics g){
	//	super.paintComponent(g);
		Graphics2D g2d = (Graphics2D) g;
		
		int drawLocationX = -14;
		int drawLocationY = -14;
		
		double rotationRequired = Math.toRadians(rotation*60);
		double locationX = image.getWidth(null) / 2;
		double locationY = image.getHeight(null) / 2;
		AffineTransform tx = AffineTransform.getRotateInstance(rotationRequired, locationX, locationY);
		AffineTransformOp op = new AffineTransformOp(tx, AffineTransformOp.TYPE_BILINEAR);
		
		if(selected){
			g2d.drawImage(op.filter((BufferedImage) selectedImage, null), drawLocationX, drawLocationY, null);
		}
		else if(netted){
			g2d.drawImage(op.filter((BufferedImage) nettedImage, null), drawLocationX, drawLocationY, null);
		}
		else{
			g2d.drawImage(op.filter((BufferedImage) image, null), drawLocationX, drawLocationY, null);
		}
	}