Display apparatus and method for controlling thereof

A method for controlling a display device to display a plurality of windows is provided. The method for controlling a display device according to the present invention comprises the steps of displaying a first window where a first application is executed and a second window where a second application is executed; setting the priority of each of the first and second windows; and differentially controlling the brightness of the first and second windows, based on the set priority.