The technique used to create the lightsaber effect is pretty straightforward, but tedious. On the set, the actors use props composed of handles that have aluminum rods attached to them, and these rods are the length of the lightsaber "blade." The handles are plastic models and the aluminum rods are painted red or green or blue. The actors use these props as though they were lightsabers." (howstuffworks)