Displaying data on window