Contact electrodes having a predetermined shape are formed by irradiating a laser beam onto the contact electrodes that are formed of a conductive material. The laser beam can be irradiated, after joining an end of each contact electrode opposite to a contact end to a contact board, so as to deform the contact electrode so that the contact end is located at a predetermined position. The laser beam may be irradiated while heating or cooling a portion of the contact electrode opposite to a portion onto which the laser beam is irradiated. |