There has been more than a decade since Shuji Nakamura from Japanese company Nichia constructed the first blue LED based on structure of (AlGaIn)N semiconductor and eight years since he made the first blue laser diode (LD). This work gives a survey on the current technological status with green/blue/violet/UV optoelectronics based on III-N semiconductors in relation with their microstructure. The following devices are presented: i) Low-power green and blue LEDs, ii) High-power LEDs targeting solid-state white lighting, iii) Low-power violet LDs for high definition DVD market, iv) High-power violet LDs, v) UV LEDs. The discussion will be focused on three main technological problems related to the microstructure of (AlGaIn)N layers in emitters based on III-N semiconductors: i) high density of dislocations in epitaxial layers of GaN on foreign substrates (sapphire, SiC, GaAs), ii), presence of strains, iii) atom segregation in ternary and quaternary compounds.