Creating the window – setting layouts and alignments