A photochromic diarylethene was found to crystallize rapidly from the amorphous state in poly(methyl methacrylate) by heating at 130 degrees C. The diarylethene amorphous film was successfully patterned to form microcrystals upon ultraviolet (UV) light irradiation through a photomask, showing a high resolution as good as approximately 4 microm under optimal conditions.