public RotatingComponent(String imageName, int x, int y, int width, int height, final double angleSpeed) {
		this.setBounds(x, y, width, height);
		image = Utilities.resizeImage(width, height, imageName);
		//this.setSize(image.getWidth(null), image.getHeight(null));
		timer = new Timer(20, new ActionListener() {
	        @Override
	        public void actionPerformed( ActionEvent e ) {
	          angleInDegrees = angleInDegrees + angleSpeed;
	          if ( angleInDegrees == 360 ){
	            angleInDegrees = 0;
	          }
	          RotatingComponent.this.repaint();
	        }
	      } );
		timer.setRepeats(false);
		timer.start();
	}